chore: clean up code

This commit is contained in:
Chris Kruining 2025-12-11 08:32:28 +01:00
parent 7751f756b7
commit ddf66697cb
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
3 changed files with 6 additions and 7 deletions

View file

@ -8,4 +8,4 @@
[no-exit-message]
@update machine:
just assert '-d "../systems/x86_64-linux/{{ machine }}"' "Machine {{ machine }} does not exist, must be one of: $(ls ../systems/x86_64-linux/ | sed ':a;N;$!ba;s/\n/, /g')"
nixos-rebuild switch -L --use-remote-sudo --target-host {{ machine }} --flake ..#{{ machine }}
nixos-rebuild switch -L --sudo --target-host {{ machine }} --flake ..#{{ machine }}