summaryrefslogtreecommitdiff
path: root/machines
diff options
context:
space:
mode:
authorMike Vink <mike@pionative.com>2025-02-02 14:04:46 +0100
committerMike Vink <mike@pionative.com>2025-02-02 14:20:13 +0100
commit02d42f807c0e2d7bf16f1fb7cd10559243ed86d3 (patch)
tree6686b62839e74e59d2598f444c95e73274a6693b /machines
parent6eff3740519b0f7905e9e0ec21ef4323abc31af7 (diff)
fix netboot
Diffstat (limited to 'machines')
-rw-r--r--machines/pump-netboot.nix8
1 files changed, 4 insertions, 4 deletions
diff --git a/machines/pump-netboot.nix b/machines/pump-netboot.nix
index 5125440..ececa4c 100644
--- a/machines/pump-netboot.nix
+++ b/machines/pump-netboot.nix
@@ -29,10 +29,11 @@
networking.hostName = "pump";
networking.domain = "vinkies.net";
- boot.supportedFilesystems = [ "zfs" ];
- boot.zfs.forceImportRoot = false;
networking.hostId = "7da046cb";
+ netboot.storeContents = [];
+ # boot.supportedFilesystems = [ "zfs" ];
+ boot.zfs.forceImportRoot = false;
boot.initrd.availableKernelModules = [ "e1000e" ];
boot.initrd.network = {
enable = true;
@@ -52,11 +53,10 @@
fileSystems."/data" =
{ device = "zpool/data";
fsType = "zfs";
- neededForBoot = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
- system.stateVersion = "24.05";
+ system.stateVersion = config.system.nixos.release;
nix.extraOptions = mkForce ''
experimental-features = nix-command flakes
'';