justfile | fix clean to run on multiple hosts
This commit is contained in:
parent
f86999055c
commit
2454c954ab
1 changed files with 2 additions and 1 deletions
3
justfile
3
justfile
|
|
@ -65,7 +65,8 @@ update:
|
|||
# Clean up
|
||||
clean hostname=(HOSTNAME):
|
||||
@echo "Cleaning old entries and store"
|
||||
@ssh {{hostname}} 'home-manager expire-generations "-5 days"'
|
||||
@# @ssh {{hostname}} 'home-manager expire-generations "-5 days"'
|
||||
@colmena --impure exec --on {{hostname}} 'home-manager expire-generations "-5 days"'
|
||||
@echo "Garbage Collection"
|
||||
@colmena --impure exec --on {{hostname}} nix-collect-garbage --quiet --log-format bar --no-build-output --delete-old
|
||||
@echo "Store optimise"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue