diff options
| author | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-08-17 11:25:33 +0200 |
|---|---|---|
| committer | Jakub Stachurski <j.stachurski@student.utwente.nl> | 2025-08-17 11:25:33 +0200 |
| commit | 1be972048dd58218cd689ecb5cac562eb398b751 (patch) | |
| tree | 203f19ee01ad5fe28f2868e8c1451f9538e4ab12 /home-modules/apps/zsh.nix | |
| parent | 3cd59d4670711e34a50adea912c3b0894883e490 (diff) | |
refreshed config
Diffstat (limited to '')
| -rw-r--r-- | home-modules/apps/zsh.nix | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/home-modules/apps/zsh.nix b/home-modules/apps/zsh.nix new file mode 100644 index 0000000..b979a83 --- /dev/null +++ b/home-modules/apps/zsh.nix @@ -0,0 +1,29 @@ +{config ,pkgs, lib, ...}: { + options.homeapps.zsh = { + enable = lib.mkEnableOption "Enable ZSH shell"; + }; + + config = lib.mkIf config.homeapps.zsh.enable { + + programs.zsh = { + enable = true; + enableCompletion = true; + oh-my-zsh = { + enable = true; + theme = "clean"; + }; + plugins = [ + { + name = "zsh-nix-shell"; + file = "nix-shell.plugin.zsh"; + src = pkgs.fetchFromGitHub { + owner = "chisui"; + repo = "zsh-nix-shell"; + rev = "v0.8.0"; + sha256 = "1lzrn0n4fxfcgg65v0qhnj7wnybybqzs4adz7xsrkgmcsr0ii8b7"; + }; + } + ]; + }; + }; +} |
