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