summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";