about summary refs log tree commit diff stats
path: root/nix-conf
diff options
context:
space:
mode:
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" ];