linuxware/switch

13 lines
191 B
Fish
Executable file

#!/etc/profiles/per-user/wizardlink/bin/fish
function build
sudo nixos-rebuild switch --flake ~/.system\#nixos $argv[1]
end
if test "--fast" = "$argv[1]"
build --fast
else
build
end