diff --git a/nixos-config/configuration.nix b/nixos-config/configuration.nix index 39943bb6..391f6503 100644 --- a/nixos-config/configuration.nix +++ b/nixos-config/configuration.nix @@ -32,8 +32,8 @@ in environment = { shells = [ pkgs.fish ]; variables = { - EDITOR = "nvim"; - VISUAL = "nvim"; + EDITOR = "/run/current-system/sw/bin/nvim"; + VISUAL = "/run/current-system/sw/bin/nvim"; }; # remove nano from default packages defaultPackages = [ pkgs.perl pkgs.rsync pkgs.strace ];