From 67e324107e05f3245ddac034607afd0e1dea478f Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Mon, 30 Mar 2026 20:46:26 +0200 Subject: Refactored the entire configuration --- home/mun/programs/zsh.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 home/mun/programs/zsh.nix (limited to 'home/mun/programs/zsh.nix') diff --git a/home/mun/programs/zsh.nix b/home/mun/programs/zsh.nix new file mode 100644 index 0000000..26756ae --- /dev/null +++ b/home/mun/programs/zsh.nix @@ -0,0 +1,24 @@ +{...}: { + programs.zsh = { + enable = true; + syntaxHighlighting.enable = true; + + shellAliases = { + ll = "ls -l"; + rebuild = "sudo nixos-rebuild switch"; + edit = "sudo vi /etc/nixos/configuration.nix"; + }; + + history.size = 10000; + + oh-my-zsh = { + enable = true; + plugins = ["git"]; + theme = "simple"; + }; + + initContent = '' + fastfetch --config examples/9.jsonc + ''; + }; +} -- cgit v1.2.3