NixOS-Config/pkgs/install-nix/default.nix

13 lines
255 B
Nix

{writeShellApplication}:
writeShellApplication
{
name = "install-nix";
runtimeInputs = [];
text = ''
# A rebuild script for NixOS
sudo systemd-inhibit --who="NixOS Installer" --why="Installing NixOS to /mnt" install-nix-no-inhibit
'';
}