From 17da77f1c3576f83543513ccadb7f2bd75abd253 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Fri, 5 May 2023 12:56:23 +0200 Subject: [PATCH] Replace path with nix/store path --- config/sudoers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/sudoers b/config/sudoers index a1844f3..3a7f4ad 100644 --- a/config/sudoers +++ b/config/sudoers @@ -2,7 +2,7 @@ # or ‘security.sudo.extraRules’ instead. # Set editor to nvim -Defaults editor=/run/current-system/sw/bin/nvim +Defaults editor=${pkgs.neovim}/bin/nvim # Keep SSH_AUTH_SOCK so that pam_ssh_agent_auth.so can do its magic. Defaults env_keep+=SSH_AUTH_SOCK