task | typos

This commit is contained in:
Don Harper 2024-11-21 15:19:13 -06:00
parent 5049a626b7
commit 38ccfbec51

View file

@ -1,15 +1,15 @@
HOSTNAME := `hostname -s`
# Do as test build without installing
test:
test hostname=(HOSTNAME):
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
@rm -f nixos-switch.log
@colmena --impure build --on {{HOSTNAME}}
@colmena --impure build --on {{hostname}}
# Apply config on hostname
switch hostname=(HOSTNAME):
@colmena --impure exec --on {{hostname}} "locate home-manager-backup | sort -u | xargs rm -f"
@colmena --impure apply --on {{HOSTNAME}}
@colmena --impure apply --on {{hostname}}
# Build and install the world!
world: