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