From 0e2ccdca8f1c1250636053e803e7fc97514cf2a9 Mon Sep 17 00:00:00 2001
From: makefu <github@syntax-fehler.de>
Date: Thu, 15 Oct 2015 00:28:13 +0200
Subject: [PATCH] m 2 base: make vim default editor

---
 2configs/base.nix | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/2configs/base.nix b/2configs/base.nix
index 91a5003..4e38c27 100644
--- a/2configs/base.nix
+++ b/2configs/base.nix
@@ -51,9 +51,7 @@ with lib;
     "d /tmp 1777 root root - -"
   ];
 
-  environment.extraInit = ''
-    EDITOR=vim
-    '';
+  environment.variables.EDITOR = mkForce "vim";
 
   environment.systemPackages = with pkgs; [
       jq