Persist some packages

This commit is contained in:
2026-03-01 20:59:17 +00:00
parent ddb150ffaa
commit 82d698ac0a

View File

@@ -201,15 +201,19 @@
"Downloads" "Downloads"
"Tower" "Tower"
".config/dotfiles" ".config/dotfiles"
".config/mozilla/firefox"
".config/nvim" ".config/nvim"
".config/nixos" ".config/nixos"
".config/sinew.in/Enpass" ".config/sinew.in"
".local/share/direnv" ".local/share/direnv"
".local/share/nvim" ".local/share/nvim"
".local/share/zoxide" ".local/share/zoxide"
".local/share/Enpass" ".local/share/Enpass"
".ssh" ".ssh"
]; ];
files = [
".config/shell/.env"
];
}; };
activation.setupDotfiles = lib.hm.dag.entryAfter ["writeBoundary"] '' activation.setupDotfiles = lib.hm.dag.entryAfter ["writeBoundary"] ''
if [[ -v DRY_RUN ]]; then if [[ -v DRY_RUN ]]; then
@@ -246,9 +250,7 @@
echo "Cleanup" echo "Cleanup"
${pkgs.coreutils}/bin/rm -rf "$TEMP_DIR" ${pkgs.coreutils}/bin/rm -rf "$TEMP_DIR"
${pkgs.coreutils}/bin/rm -rf "$HOME/.git" || true
# Add test file with timestamp
${pkgs.coreutils}/bin/touch "$HOME/.bootstrap-success-$(date +%s)"
echo "Dotfiles bootstrapped successfully." echo "Dotfiles bootstrapped successfully."
''; '';
@@ -261,7 +263,7 @@
# spotify # spotify
# go # go
# lua # lua
# nodePackages.pnpm nodePackages.pnpm
# (python3.withPackages (python-pkgs: [ python-pkgs.pip python-pkgs.requests ])) # (python3.withPackages (python-pkgs: [ python-pkgs.pip python-pkgs.requests ]))
# rustup # rustup
# zig # zig
@@ -299,7 +301,7 @@
# krita # krita
# libreoffice-fresh # libreoffice-fresh
# nextcloud-client # nextcloud-client
# nodejs_24 nodejs_24
# signal-desktop # signal-desktop
# sxiv # sxiv
# tenacity # tenacity