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