nixos-config/config/netboot.nix

19 lines
487 B
Nix
Raw Normal View History

2023-03-18 09:11:05 +00:00
{
lib,
pkgs,
nixpkgs,
...
}: {
imports = [
2023-03-18 17:45:07 +00:00
"${nixpkgs}/nixos/modules/installer/netboot/netboot-base.nix"
2023-07-01 11:21:45 +00:00
../modules/bcachefs.nix
2023-03-18 09:11:05 +00:00
];
networking.wireguard.interfaces."wg0".ips = [
"fd0d:a262:1fa6:e621:6ec2:1e4e:ce7f:d2af/64"
];
boot.supportedFilesystems = lib.mkForce ["bcachefs" "vfat"];
2023-07-01 11:21:45 +00:00
boot.kernelPackages = lib.mkForce (pkgs.linuxPackagesFor pkgs.linux-bcachefs);
2023-03-18 09:11:05 +00:00
networking.hostId = "8425e349";
nix.settings.post-build-hook = lib.mkForce "true";
}