about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-11-16 20:38:49 +0000
committerDavid Morgan <djm_uk@protonmail.com>2022-11-16 20:38:49 +0000
commitdc132ac1acd4d8b65b6240ec9c181d70066205ae (patch)
tree7d3ead9f43e11e3c43b67d8738aa58cb8f880e03 /nix-conf
parentc2d16c27dff1f38bc2984de165962709e913ef93 (diff)
downloaddotfiles-dc132ac1acd4d8b65b6240ec9c181d70066205ae.tar.gz
Use programs.vim.defaultEditor
Diffstat (limited to 'nix-conf')
-rw-r--r--nix-conf/machines/edrahil/configuration.nix4
1 files 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" ];