Update flake.nix

This commit is contained in:
2026-06-02 10:33:50 +00:00
parent 655865e77a
commit 4e68d2cd26
+1 -13
View File
@@ -23,7 +23,7 @@
]; ];
}; };
netboot = nixpkgs.lib.nixosSystem { netbootSystem = nixpkgs.lib.nixosSystem {
inherit system; inherit system;
modules = [ modules = [
@@ -33,18 +33,6 @@ netboot = nixpkgs.lib.nixosSystem {
imports = [ imports = [
(modulesPath + "/installer/netboot/netboot-minimal.nix") (modulesPath + "/installer/netboot/netboot-minimal.nix")
]; ];
# 🔥 critical: prevent ISO/live media assumptions
boot.supportedFilesystems = [ "tmpfs" "vfat" "ext4" ];
boot.kernelParams = [
"ip=dhcp"
];
# optional but helps avoid root confusion
fileSystems."/" = {
device = "tmpfs";
fsType = "tmpfs";
};
}) })
]; ];
}; };