Periodic merge of staging to master #14
1 changed files with 4 additions and 0 deletions
|
@ -45,7 +45,11 @@ in rec {
|
||||||
[[ -e "''${NIXOS_CONFIG}" ]]
|
[[ -e "''${NIXOS_CONFIG}" ]]
|
||||||
[[ -e "${mntRootVol}/nixos" ]]
|
[[ -e "${mntRootVol}/nixos" ]]
|
||||||
|
|
||||||
|
sudo -E $SHELL <<EOF
|
||||||
|
# 'having $system set breaks nixos-install'
|
||||||
|
unset system
|
||||||
nixos-install --max-jobs 5 --cores 4 --no-root-passwd --root ${mntRootVol}/nixos
|
nixos-install --max-jobs 5 --cores 4 --no-root-passwd --root ${mntRootVol}/nixos
|
||||||
|
EOF
|
||||||
'';
|
'';
|
||||||
|
|
||||||
diskPrepare = pkgs.writeScript "script" ''
|
diskPrepare = pkgs.writeScript "script" ''
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue