From dc132ac1acd4d8b65b6240ec9c181d70066205ae Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 16 Nov 2022 20:38:49 +0000 Subject: [PATCH] Use programs.vim.defaultEditor --- nix-conf/machines/edrahil/configuration.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nix-conf/machines/edrahil/configuration.nix b/nix-conf/machines/edrahil/configuration.nix index 149bf6c..4c7c025 100644 --- a/nix-conf/machines/edrahil/configuration.nix +++ b/nix-conf/machines/edrahil/configuration.nix @@ -58,13 +58,13 @@ extraRules = [ { users = [ "djm" ]; noPass = true; keepEnv = true; } ]; }; + programs.vim.defaultEditor = true; + environment.systemPackages = with pkgs; [ #procmail git - vim wget ]; - environment.variables = { EDITOR = "vim"; VISUAL = "vim"; }; nix.trustedUsers = [ "root" "djm" ];