From f8f7a3c879c2208d21ba0c5f5f555fc1b09603e0 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Mon, 1 May 2023 13:08:05 +0200 Subject: [PATCH] Set sudo editor --- configuration.nix | 1 + 1 file changed, 1 insertion(+) 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 ];