diff options
| author | arpitchakladar <arpitchakladar@gmail.com> | 2026-09-09 19:42:48 +0530 |
|---|---|---|
| committer | arpitchakladar <arpitchakladar@gmail.com> | 2026-09-09 19:42:48 +0530 |
| commit | 7879122dfc8e7ca7b905e10d5f55df09f9051295 (patch) | |
| tree | e57194d5efb8d67f569549790e847684de03614c /modules/system/nix-update/nix-update.sh | |
| parent | 140394b7ab67124f186358a4471164cb4a1ae967 (diff) | |
| download | home-manager-config-7879122dfc8e7ca7b905e10d5f55df09f9051295.tar.gz home-manager-config-7879122dfc8e7ca7b905e10d5f55df09f9051295.zip | |
feat(users/arpit)!: moved modules/private to user specific config
BREAKING CHANGES: modules/private isn't used anymore
Diffstat (limited to 'modules/system/nix-update/nix-update.sh')
| -rw-r--r-- | modules/system/nix-update/nix-update.sh | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/modules/system/nix-update/nix-update.sh b/modules/system/nix-update/nix-update.sh index 0f1c0c1..0f499db 100644 --- a/modules/system/nix-update/nix-update.sh +++ b/modules/system/nix-update/nix-update.sh @@ -61,8 +61,8 @@ update_home_manager() { echo "==> Updating home-manager..." cd "$HM_DIR" - echo " Staging modules/private..." - git add modules/private -f + echo " Staging users/arpit/private.nix..." + git add users/arpit/private.nix -f if [[ "$ONLY_SWITCH" == false ]]; then echo " Running nix flake update..." @@ -74,10 +74,8 @@ update_home_manager() { home-manager switch --flake "$HM_DIR#arpit" fi - echo " Unstaging modules/private..." - for f in modules/private/*.nix; do - [[ "$f" == *.example.nix ]] || git rm --cached "$f" - done + echo " Unstaging users/arpit/private.nix..." + git rm --cached users/arpit/private.nix echo "==> home-manager update complete" } |
