🐛 fix chezmoi deploy

This commit is contained in:
James Walker 2024-09-15 13:06:52 -04:00
parent d9173abb79
commit 8b57a7580a
Signed by: walkah
SSH Key Fingerprint: SHA256:f7Gn4jO4BFHZxWfKTTzEAfWz+cLW51IyGFl9MjDyZGI

View File

@ -1,19 +1,18 @@
{ lib, pkgs, ... }: {
home = {
username = "walkah";
# homeDirectory = if pkgs.stdenv.isDarwin then "/Users/walkah" else "/home/walkah";
packages = with pkgs; [
chezmoi
direnv
eza
fzf
git
htop
starship
tmux
];
activation.chezmoi = lib.hm.dag.entryAfter [ "installPackages" ] ''
export PATH="${pkgs.git}/bin:$PATH"
$DRY_RUN_CMD ${pkgs.chezmoi}/bin/chezmoi init --apply walkah/dotfiles
'';