pxeboot rewrite, bridge for qemu

This commit is contained in:
bogale 2026-10-27 00:08:14 +09:00
commit 1dd7fac8ed
10 changed files with 129 additions and 112 deletions

15
pxeboot/hardware.nix Normal file
View file

@ -0,0 +1,15 @@
{
config,
lib,
modulesPath,
...
}:
{
boot.initrd.network.enable = true;
fileSystems."/" = {
device = "";
fsType = "nfs";
};
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}