summaryrefslogtreecommitdiff
path: root/modules/programs
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:25:23 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-18 14:25:23 +0100
commit438c6fe241a8baae429e5b830892b13f1aa2216d (patch)
treebbc0fcc318890457627613fd20395fbb513cd4d0 /modules/programs
parent1121ec46b3ccd5e5d87e22dd43076127efe32e6d (diff)
add nix-zsh-completions package
Diffstat (limited to 'modules/programs')
-rw-r--r--modules/programs/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/programs/zsh.nix b/modules/programs/zsh.nix
index 0417365..882c789 100644
--- a/modules/programs/zsh.nix
+++ b/modules/programs/zsh.nix
@@ -126,7 +126,7 @@ in
environment.systemPackages =
[ # Include zsh package
pkgs.zsh
- ];
+ ] ++ optional cfg.enableCompletion pkgs.nix-zsh-completions;
environment.loginShell = mkDefault "${shell}/bin/zsh -l";
environment.variables.SHELL = mkDefault "${shell}/bin/zsh";