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 +++ pkgs/default.nix | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) 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"; -- cgit v1.2.3