summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/gui
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2018-10-21 23:22:21 +0200
committermakefu <github@syntax-fehler.de>2018-10-21 23:22:21 +0200
commit4d9b2888b037ad9b239477a5399fd9e6ec210f58 (patch)
treea68ddd97e1e90ba3f1086f323c1aceaffaca8b7a /makefu/2configs/gui
parentf1bd2ce84d820d0b35c56245d820beffd7d2eb5b (diff)
ma gui/wbob-kiosk: disable screensaver on startup
Diffstat (limited to 'makefu/2configs/gui')
-rw-r--r--makefu/2configs/gui/wbob-kiosk.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/2configs/gui/wbob-kiosk.nix b/makefu/2configs/gui/wbob-kiosk.nix
index 7db749227..b0479d0d7 100644
--- a/makefu/2configs/gui/wbob-kiosk.nix
+++ b/makefu/2configs/gui/wbob-kiosk.nix
@@ -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";
+ };
+ };
+
}