From 478081af928e1557b325f4a4cbd5b67f079660d2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Wed, 25 Sep 2024 19:41:02 +0530 Subject: Adding nnn file manager. Adding bspwm bindings to sxhkd only if the module is enabled. --- modules/shell/zsh/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'modules/shell/zsh/default.nix') diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix index c553ec4..7d7a261 100644 --- a/modules/shell/zsh/default.nix +++ b/modules/shell/zsh/default.nix @@ -6,11 +6,12 @@ }; config = lib.mkIf config.shell.zsh.enable { + shell.default = "${pkgs.zsh}/bin/zsh"; + programs.zsh.enable = true; programs.zsh.dotDir = ".config/zsh"; programs.zsh.history.path = "${config.xdg.cacheHome}/zsh/history"; programs.zsh.initExtra = builtins.readFile ./zshrc; programs.zsh.shellAliases = config.shell.alias; - shell.default = "${pkgs.zsh}/bin/zsh"; }; } -- cgit v1.2.3