mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Now using nh
This commit is contained in:
9
Makefile
9
Makefile
@@ -8,14 +8,15 @@ machine:
|
||||
@echo "${HOSTNAME}"
|
||||
|
||||
switch:
|
||||
nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo
|
||||
nh os switch -a -H "${HOSTNAME}" .
|
||||
|
||||
test:
|
||||
nixos-rebuild test --flake ".#${HOSTNAME}" --use-remote-sudo
|
||||
nh os test -a -H "${HOSTNAME}" .
|
||||
|
||||
upgrade:
|
||||
update:
|
||||
sudo nix flake update
|
||||
nixos-rebuild switch --flake ".#${HOSTNAME}" --use-remote-sudo
|
||||
|
||||
upgrade: update switch
|
||||
|
||||
clean:
|
||||
sudo nix-collect-garbage -d
|
||||
|
||||
Reference in New Issue
Block a user