diff options
Diffstat (limited to 'programs/zsh.nix')
| -rw-r--r-- | programs/zsh.nix | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/programs/zsh.nix b/programs/zsh.nix new file mode 100644 index 0000000..8d8fc91 --- /dev/null +++ b/programs/zsh.nix @@ -0,0 +1,23 @@ +{ config, pkgs, ... }: +{ + programs.zsh = { + enable = true; + shellAliases = { + ll = "ls -l"; + unixos = "sudo nixos-rebuild switch --flake /etc/nixos"; + uhome = "home-manager switch --flake /etc/nixos"; + }; + history = { + size = 10000; + path = "${config.xdg.dataHome}/zsh/history"; + ignoreDups = true; + }; + + oh-my-zsh = { + enable = true; + plugins = [ "git" "thefuck" "pass" ]; + theme = "dst"; + }; + syntaxHighlighting.enable = true; + }; +} |
