Files
athens/nix/users/walkah/home.nix

31 lines
655 B
Nix
Raw Normal View History

2024-12-07 20:46:15 -05:00
{ lib, pkgs, ... }:
{
home = {
packages = with pkgs; [
chezmoi
2024-09-25 13:29:05 -04:00
bat
direnv
eza
2024-09-25 13:29:05 -04:00
fd
fzf
git
2024-09-15 13:06:52 -04:00
htop
2024-09-25 13:29:05 -04:00
jq
starship
tmux
];
activation.chezmoi = lib.hm.dag.entryAfter [ "installPackages" ] ''
2024-11-30 19:30:57 -05:00
export SSL_CERT_FILE="${pkgs.cacert}/etc/ssl/certs/ca-bundle.crt";
2024-11-21 18:48:25 -05:00
export PATH="${pkgs.git}/bin:${pkgs.openssh}/bin:$PATH"
2024-10-03 21:46:45 -04:00
if [ ! -d $HOME/.local/share/chezmoi ]; then
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi init --apply walkah/dotfiles
2024-11-21 18:48:25 -05:00
else
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi update --apply
2024-10-03 21:46:45 -04:00
fi
'';
stateVersion = "24.05";
};
}