add installer flake

This commit is contained in:
Christoph Cullmann 2025-04-21 18:05:48 +02:00
parent a70d7c057e
commit 3185ed0c38
No known key found for this signature in database
3 changed files with 22 additions and 25 deletions

18
installer/flake.nix Normal file
View file

@ -0,0 +1,18 @@
{
description = "installation media";
inputs.nixos.url = "nixpkgs/nixos-unstable";
outputs = { self, nixos }: {
nixosConfigurations = {
exampleIso = nixos.lib.nixosSystem {
system = "x86_64-linux";
modules = [
"${nixos}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
({ config, pkgs, ... }: {
networking.wireless.enable = false;
networking.networkmanager.enable = true;
})
];
};
};
};
}