Home

infra @main - refs - log -
-
https://git.jolheiser.com/infra.git
dragonwell flake
tree log patch
disable screen blanking Signed-off-by: jolheiser <git@jolheiser.com>
Signature
-----BEGIN SSH SIGNATURE----- U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgBTEvCQk6VqUAdN2RuH6bj1dNkY oOpbPWj+jw4ua1B1cAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5 AAAAQHITHwWF6hPQd3DT0AdNUgOleYSQLSabHc+onmZlKYheuOlre9NOXiUoc8PvZyzcoY qbzvwYnMuo/HW6R7o68Q8= -----END SSH SIGNATURE-----
jolheiser <git@jolheiser.com>
6 days ago
1 changed files, 18 additions(+), 7 deletions(-)
jasmine/feh.nix
M jasmine/feh.nix -> jasmine/feh.nix
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
diff --git a/jasmine/feh.nix b/jasmine/feh.nix
index 5b0b5d699c8a8bff33bd09404724597f9ab470fa..07fd5b97a83a4bbfaca11cbe6cfc39d7da499493 100644
--- a/jasmine/feh.nix
+++ b/jasmine/feh.nix
@@ -1,12 +1,23 @@
 { pkgs, ... }:
 {
-  systemd.user.services.feh = {
-    description = "Autostart feh image viewer";
-    wantedBy = [ "graphical-session.target" ];
-    after = [ "graphical-session.target" ];
-    serviceConfig = {
-      ExecStart = "${pkgs.lib.getExe pkgs.feh} --hide-pointer --borderless --quiet --slideshow-delay 5 --image-bg black --fullscreen --auto-zoom --randomize --recursive --reload 5 /mnt/feh";
-      Restart = "on-failure";
+  systemd.user.services = {
+    feh = {
+      description = "Autostart feh image viewer";
+      wantedBy = [ "graphical-session.target" ];
+      after = [ "graphical-session.target" ];
+      serviceConfig = {
+        ExecStart = "${pkgs.lib.getExe pkgs.feh} --hide-pointer --borderless --quiet --slideshow-delay 5 --image-bg black --fullscreen --auto-zoom --randomize --recursive --reload 5 /mnt/feh";
+        Restart = "on-failure";
+      };
+    };
+    disable-dpms = {
+      description = "Disable screen blanking";
+      wantedBy = [ "graphical-session.target" ];
+      after = [ "graphical-session.target" ];
+      serviceConfig = {
+        Type = "oneshot";
+        ExecStart = "${pkgs.lib.getExe pkgs.xorg.xset} s off -dpms";
+      };
     };
   };
 }