2024-10-28 00:17:05 +01:00
|
|
|
{writeShellApplication}:
|
2024-02-27 15:42:27 +01:00
|
|
|
writeShellApplication
|
|
|
|
{
|
|
|
|
name = "install-nix";
|
|
|
|
|
|
|
|
runtimeInputs = [];
|
|
|
|
|
|
|
|
text = ''
|
2024-03-05 15:34:12 +01:00
|
|
|
# A rebuild script for NixOS
|
|
|
|
sudo systemd-inhibit --who="NixOS Installer" --why="Installing NixOS to /mnt" install-nix-no-inhibit
|
2024-02-27 15:42:27 +01:00
|
|
|
'';
|
|
|
|
}
|