Merge pull request #29 from nrdxp/rebuild-fix
shell: alias rebuild to nixos rebuild
This commit is contained in:
commit
1b7fb9214d
|
@ -9,7 +9,7 @@ let
|
||||||
elif [[ $1 == "iso" ]]; then
|
elif [[ $1 == "iso" ]]; then
|
||||||
nix build ${configs}.niximg.${build}.isoImage
|
nix build ${configs}.niximg.${build}.isoImage
|
||||||
else
|
else
|
||||||
sudo -E nix shell -vv ${configs}.$1.${build}.toplevel -c switch-to-configuration $2
|
sudo nixos-rebuild --flake ".#$1" $2
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
|
|
Loading…
Reference in a new issue