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

13 lines
255 B
Nix
Raw Permalink Normal View History

{writeShellApplication}:
2024-02-27 15:42:27 +01:00
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
2024-02-27 15:42:27 +01:00
'';
}