Summary Files Commits Branches @commit @diff @stats
diff options
context:
space:
mode:
1 files changed, 12 insertions, 0 deletions
-rw-r--r--services.nix12
diff --git a/services.nix b/services.nix
index 954d3e1..e5462bc 100644
--- a/services.nix
+++ b/services.nix
@@ -18,6 +18,18 @@
};
};
+ devilspie2 = {
+ description = "devilspie2 runner";
+ wantedBy = [ "graphical-session.target" ];
+ wants = [ "graphical-session.target" ];
+ after = [ "graphical-session.target" ];
+ serviceConfig = {
+ ExecStart = "${pkgs.devilspie2}/bin/devilspie2";
+ Restart = "on-failure";
+ RestartSec = 1;
+ TimeoutStopSec = 10;
+ };
+ };
# This is kinda gross, because the xautolock service is already defined and configured
# inside services.xserver.xautolock, but it's the only way I know