ma gui/wbob-kiosk: disable screensaver on startup

This commit is contained in:
makefu 2018-10-21 23:22:21 +02:00
parent f1bd2ce84d
commit 4d9b2888b0
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -22,4 +22,16 @@
xrandr --output HDMI2 --right-of HDMI1 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";
};
};
} }