mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix dpms?
This commit is contained in:
parent
134b4e409a
commit
c2154e01b7
2 changed files with 2 additions and 5 deletions
|
|
@ -26,9 +26,7 @@ lib: {
|
||||||
type = "filesystem";
|
type = "filesystem";
|
||||||
format = "vfat";
|
format = "vfat";
|
||||||
mountpoint = "/efi${name}";
|
mountpoint = "/efi${name}";
|
||||||
mountOptions = [
|
mountOptions = [ "umask=007" ];
|
||||||
"umask=007"
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
swap = {
|
swap = {
|
||||||
|
|
|
||||||
|
|
@ -24,8 +24,6 @@ let
|
||||||
--mode 3440x1440 --rate 120 --primary --pos 0x0 \
|
--mode 3440x1440 --rate 120 --primary --pos 0x0 \
|
||||||
--output "$(xrandr | grep -e 'HDMI.* connected.*'| awk '{ print$1 }')" \
|
--output "$(xrandr | grep -e 'HDMI.* connected.*'| awk '{ print$1 }')" \
|
||||||
--mode 1920x1080 --rate 144 --set TearFree on --pos 3440x360
|
--mode 1920x1080 --rate 144 --set TearFree on --pos 3440x360
|
||||||
|
|
||||||
xset -dpms
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
|
|
@ -42,6 +40,7 @@ in
|
||||||
if ! [ -e "/etc/Xorg/ONE_MONITOR" ] ; then
|
if ! [ -e "/etc/Xorg/ONE_MONITOR" ] ; then
|
||||||
${lib.getExe cfg_monitors}
|
${lib.getExe cfg_monitors}
|
||||||
fi
|
fi
|
||||||
|
xset -dpms
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue