updates from makefile
This commit is contained in:
parent
77d544779d
commit
d714fe2902
3 changed files with 11 additions and 15 deletions
10
makefile
10
makefile
|
|
@ -9,19 +9,15 @@ test:
|
|||
@colmena build --on $(HOSTNAME)
|
||||
|
||||
switch: prep
|
||||
@rm -f nixos-switch.log
|
||||
@colmena apply --on ${HOSTNAME}
|
||||
|
||||
world: prep
|
||||
@rm -f nixos-switch.log
|
||||
@colmena apply
|
||||
|
||||
workstation: prep
|
||||
@rm -f nixos-switch.log
|
||||
@colmena apply --on @workstation
|
||||
|
||||
server: prep
|
||||
@rm -f nixos-switch.log
|
||||
@colmena apply --on @server
|
||||
|
||||
vm:
|
||||
|
|
@ -30,7 +26,7 @@ vm:
|
|||
@echo Running iso build
|
||||
@nix build --impure ./#nixosConfigurations.vm.config.system.build.isoImage &> nixos-switch.log || ( grep -E --color '(error|For full logs)' nixos-switch.log && false)
|
||||
|
||||
weekly: pull clean update workstation server ci push clean
|
||||
weekly: pull clean update world ci push clean
|
||||
|
||||
cweekly: clean pull switch clean
|
||||
|
||||
|
|
@ -42,8 +38,8 @@ update:
|
|||
clean:
|
||||
@echo "Cleaning old entries and store"
|
||||
@home-manager expire-generations "-5 days"
|
||||
@doas nix-collect-garbage --quiet --log-format bar --no-build-output --delete-old
|
||||
@doas nix store optimise
|
||||
@colmena exec nix-collect-garbage --quiet --log-format bar --no-build-output --delete-old
|
||||
@colmena exec nix store optimise
|
||||
|
||||
push:
|
||||
@echo pushing to git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue