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

17 lines
277 B
Nix
Raw Normal View History

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