summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--modules/programs/shell.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/programs/shell.nix b/modules/programs/shell.nix
index d59f9fb5..ab55e0c4 100644
--- a/modules/programs/shell.nix
+++ b/modules/programs/shell.nix
@@ -5,7 +5,9 @@
     promptInit = "";
   };
   programs.bash.enableCompletion = true;
-  programs.vim.enable = pkgs.stdenv.isDarwin;
+  programs.vim = pkgs.lib.attrsets.optionalAttrs pkgs.stdenv.isDarwin {
+    enable = true;
+  };
 
   environment.systemPackages = with pkgs; [
     pv