makefile: pocket2 clean before and after push
This commit is contained in:
parent
f142807a1f
commit
965a945e50
1 changed files with 4 additions and 1 deletions
5
makefile
5
makefile
|
|
@ -33,7 +33,10 @@ pull:
|
|||
# pocket2 does not really have enough space to do this locally
|
||||
pocket2:
|
||||
@ssh pocket2 "locate home-manager-backup | sort -u | xargs rm -f"
|
||||
nixos-rebuild switch --flake .#pocket2 --target-host root@pocket2
|
||||
@ssh pocket2 "doas nix-collect-garbage --quiet --log-format bar --no-build-output --delete-old"
|
||||
@nixos-rebuild switch --flake .#pocket2 --target-host root@pocket2
|
||||
@ssh pocket2 "doas nix-collect-garbage --quiet --log-format bar --no-build-output --delete-old"
|
||||
@ssh pocket2 "doas nix store optimise"
|
||||
|
||||
ci:
|
||||
git commit -m"updates from makefile" --all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue