diff options
Diffstat (limited to 'modules/shell/zsh')
-rw-r--r-- | modules/shell/zsh/default.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/modules/shell/zsh/default.nix b/modules/shell/zsh/default.nix new file mode 100644 index 0000000..471bc57 --- /dev/null +++ b/modules/shell/zsh/default.nix @@ -0,0 +1,32 @@ +{ config, pkgs, user, ... }: +{ + config = { + programs.zsh.enable = true; + users.defaultUserShell = pkgs.zsh; + }; + + config.home-manager.users.${user} = { + home.packages = with pkgs; [ + inotify-tools + ]; + + programs.zsh = { + enable = true; + shellAliases = { + ll = "ls -l"; + unixos = "sudo nixos-rebuild switch --flake /etc/nixos"; + }; + history = { + size = 10000; + ignoreDups = true; + }; + + oh-my-zsh = { + enable = true; + plugins = [ "git" "thefuck" "pass" ]; + theme = "dst"; + }; + syntaxHighlighting.enable = true; + }; + }; +} |