diff options
Diffstat (limited to 'modules/zsh.nix')
| -rw-r--r-- | modules/zsh.nix | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/zsh.nix b/modules/zsh.nix index 68b9a23..adb51a4 100644 --- a/modules/zsh.nix +++ b/modules/zsh.nix @@ -1,11 +1,8 @@ { config, lib, pkgs, ... }: -let - cfg = config.zsh; -in { +{ options.zsh.enable = lib.mkEnableOption "Configure zsh"; - - config = lib.mkIf cfg.enable { + config = lib.mkIf config.zsh.enable { home.packages = with pkgs; [ zoxide ]; |
