cachix: restart on failure
This commit is contained in:
parent
e641b5b57a
commit
399f16d3fb
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@
|
|||
path = [ config.nix.package ];
|
||||
restartIfChanged = false;
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
EnvironmentFile = config.sops.secrets.cachix-agent-token.path;
|
||||
ExecStart = "${import sources.cachix {}}/bin/cachix deploy agent ${config.networking.hostName}";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue