summary refs log tree commit diff stats
path: root/modules/programs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/programs')
-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 d59f9fb..ab55e0c 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