nixos/greenclip: restart daemon if it exits

This commit is contained in:
Preston Hunt
2024-04-21 23:58:10 +10:00
committed by tomf
parent 62f7c1ff24
commit b87790536d
+4 -1
View File
@@ -18,7 +18,10 @@ in {
description = "greenclip daemon";
wantedBy = [ "graphical-session.target" ];
after = [ "graphical-session.target" ];
serviceConfig.ExecStart = "${cfg.package}/bin/greenclip daemon";
serviceConfig = {
ExecStart = "${cfg.package}/bin/greenclip daemon";
Restart = "always";
};
};
environment.systemPackages = [ cfg.package ];