summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEthel Morgan <eth@ethulhu.co.uk>2020-06-06 11:05:59 +0100
committerEthel Morgan <eth@ethulhu.co.uk>2020-06-06 11:05:59 +0100
commit781115d3b8d8cea867717074caf53333a154eab0 (patch)
tree81454157bd057529070b760755b2e3d57d1f59cc
parentea09bf8dea94133875aeef7bb8dec8ba2a0e1354 (diff)
update helix; restart helix-directory on failure
-rw-r--r--nixos/modules/services/helix-directory.nix3
-rw-r--r--pkgs/default.nix2
2 files changed, 4 insertions, 1 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;
diff --git a/pkgs/default.nix b/pkgs/default.nix
index ac7130e..2b26b8f 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -1,7 +1,7 @@
let
helix = builtins.fetchGit {
url = "https://github.com/ethulhu/helix";
- rev = "e6af1aa7372e299ab6f50cfa916119082d1738cf";
+ rev = "5a11d335465db52cdb8430abc37f4d3463122167";
};
recipes = builtins.fetchGit {
url = "https://github.com/ethulhu/recipes.eth.moe";