From 781115d3b8d8cea867717074caf53333a154eab0 Mon Sep 17 00:00:00 2001 From: Ethel Morgan Date: Sat, 6 Jun 2020 11:05:59 +0100 Subject: update helix; restart helix-directory on failure --- nixos/modules/services/helix-directory.nix | 3 +++ 1 file changed, 3 insertions(+) (limited to 'nixos/modules/services/helix-directory.nix') 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; -- cgit v1.2.3