Revert "Add installer image package"

This reverts commit 415d9e829f.
This commit is contained in:
Michael Smith
2024-09-05 23:13:44 +02:00
parent 1c0091fb65
commit 5dcf677d12
2 changed files with 0 additions and 204 deletions

View File

@@ -3,16 +3,11 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
nixos-generators = {
url = "github:nix-community/nixos-generators";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = {
self,
nixpkgs,
nixos-generators,
} @ inputs: let
supportedSystems = [
"aarch64-darwin"
@@ -76,22 +71,6 @@
'';
installer-iso = inputs.self.nixosConfigurations.installer.config.system.build.isoImage;
installer-image = nixos-generators.nixosGenerate {
system = system;
specialArgs = {
pkgs = pkgs;
diskSize = 20 * 1024;
};
modules = [
# Pin nixpkgs to the flake input, so that the packages installed
# come from the flake inputs.nixpkgs.url.
({ ... }: { nix.registry.nixpkgs.flake = nixpkgs; })
# Apply the rest of the config.
./machines/installer-image
];
format = "raw-efi";
};
});
apps = forAllSystems (system: {