diff --git a/configuration.nix b/configuration.nix index f87b4c3..289c4a7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -38,6 +38,7 @@ in variables = { EDITOR = "nvim"; VISUAL = "nvim"; + SUDO_EDITOR = "nvim"; }; # remove nano from default packages defaultPackages = [ pkgs.perl pkgs.rsync pkgs.strace ];