diff options
author | Ethel Morgan <eth@ethulhu.co.uk> | 2020-06-06 11:05:59 +0100 |
---|---|---|
committer | Ethel Morgan <eth@ethulhu.co.uk> | 2020-06-06 11:05:59 +0100 |
commit | 781115d3b8d8cea867717074caf53333a154eab0 (patch) | |
tree | 81454157bd057529070b760755b2e3d57d1f59cc /nixos/modules | |
parent | ea09bf8dea94133875aeef7bb8dec8ba2a0e1354 (diff) |
update helix; restart helix-directory on failure
Diffstat (limited to '')
-rw-r--r-- | nixos/modules/services/helix-directory.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/helix-directory.nix b/nixos/modules/services/helix-directory.nix index 9826bca..62e6588 100644 --- a/nixos/modules/services/helix-directory.nix +++ b/nixos/modules/services/helix-directory.nix @@ -46,6 +46,9 @@ in { ExecStart = "${pkgs.eth.helix}/bin/helix-directory -friendly-name ${escapeShellArg cfg.friendlyName} -path ${escapeShellArg cfg.directory}"; + Restart = "always"; + RestartSec = "1min"; + NoNewPrivileges = true; ProtectHome = true; ProtectKernelTunables = true; |