summaryrefslogtreecommitdiff
path: root/nixos/modules/services/helix-directory.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/modules/services/helix-directory.nix')
-rw-r--r--nixos/modules/services/helix-directory.nix3
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;