forked from Fediversity/Fediversity
Turn off the machine once if install is successful
This commit is contained in:
parent
adbd9d8d1e
commit
271315747b
|
@ -12,7 +12,8 @@ nixpkgs: machine:
|
|||
runtimeInputs = with pkgs; [ nixos-install-tools ];
|
||||
text = ''
|
||||
${machine.config.system.build.diskoScript}
|
||||
nixos-install --no-root-password --no-channel-copy --system ${machine.config.system.build.toplevel}
|
||||
nixos-install --no-root-password --no-channel-copy --system ${machine.config.system.build.toplevel} \
|
||||
&& poweroff
|
||||
'';
|
||||
};
|
||||
in
|
||||
|
|
Loading…
Reference in a new issue