ma gui/wbob-kiosk: disable screensaver on startup

This commit is contained in:
makefu 2018-10-21 23:22:21 +02:00
parent ac7e2bd2c9
commit fa766b455b

View file

@ -22,4 +22,16 @@
xrandr --output HDMI2 --right-of HDMI1
'';
};
systemd.services.xset-off = {
after = [ "display-manager.service" ];
wantedBy = [ "multi-user.target" ];
serviceConfig = {
ExecStart = "${pkgs.xlibs.xset}/bin/xset -display :0 s off -dpms";
RemainAfterExit = "yes";
TimeoutSec = "5";
Restart = "on-failure";
};
};
}