diff --git a/home.nix b/home.nix index 9935020..d44a15b 100644 --- a/home.nix +++ b/home.nix @@ -1,8 +1,18 @@ -{pkgs, ...}: { +{ + lib, + pkgs, + ... +}: { home.username = "$USER"; home.homeDirectory = "/home/$USER"; home.stateVersion = "22.11"; + home.activation = { + checkBemenuDraculaInZshDir = lib.hm.dag.entryAfter ["writeBoundary"] '' + $DRY_RUN_CMD test -d .zsh/bemenu-dracula || echo "TODO: link bemenu-dracula to .zsh" + ''; + }; + # build a configuration and switch: # ➜ home-manager switch --no-out-link -b backup --flake~/utils/dotfiles#$USER @@ -22,6 +32,20 @@ source = .config/kitty/kitty.conf; }; + # begin zsh-related. + ".zshenv" = { + source = ./.zshenv; + }; + + ".zsh/aliases.zsh" = { + source = .zsh/aliases.zsh; + }; + + ".zsh/functions.zsh" = { + source = .zsh/functions.zsh; + }; + # end zsh-related. + ".local/bin/battery.sh" = { source = bin/battery.sh; executable = true;