justfile | fix cleaning home-manager on remote hosts
This commit is contained in:
parent
4ca781ff0f
commit
7712eee561
1 changed files with 1 additions and 1 deletions
2
justfile
2
justfile
|
|
@ -59,7 +59,7 @@ update:
|
|||
# Clean up
|
||||
clean hostname=(HOSTNAME):
|
||||
@echo "Cleaning old entries and store"
|
||||
@home-manager expire-generations "-5 days"
|
||||
@ssh {{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