fix dpms?

This commit is contained in:
Gerg-L 2024-06-18 22:49:00 -04:00
parent 134b4e409a
commit c2154e01b7
Signed by: gerg-l
SSH key fingerprint: SHA256:FPYDHIkvMocr4wdmZXpgpJjsb2Tw6rASs2ISPbOb0KI
2 changed files with 2 additions and 5 deletions

View file

@ -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 = {

View file

@ -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
''; '';
}; };