feat: create simple script for nixos-rebuild swithc

This commit is contained in:
Alexandre Cavalheiro 2024-03-06 23:22:31 -03:00
parent c645cb6c6a
commit 0e44f344d5
Signed by: wizardlink
GPG key ID: A5767B54367CFBDF

12
switch Executable file
View file

@ -0,0 +1,12 @@
#!/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