Now using nh

This commit is contained in:
Superredstone committed 2025-05-06 17:45:05 +02:00
1 parent 4881a205ea
commit 46c6deebda
4 files changed
+13 -15

No files matched your search

+5 -4
View File
@@ -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