diff --git a/nixos-config/configuration.nix b/nixos-config/configuration.nix index f87b4c30..289c4a70 100644 --- a/nixos-config/configuration.nix +++ b/nixos-config/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 ];