treewide: disable force importing the zfs root pool
Martin Weinelt committed
May 25, 2026 at 16:08 UTC
2afdff18e517ed9e6d0048b7d42346400acd63ba
5 files changed
+6
build/common.nix
+2
@@ -87,4 +87,6 @@
87
};
88
89
services.zfs.autoScrub.enable = true;
90
+
91
+ boot.zfs.forceImportRoot = false;
92
}
builders/profiles/hetzner-ax101r.nix
+1
@@ -11,6 +11,7 @@
11
12
disko.devices = import ../disk-layouts/efi-zfs-raid0.nix { };
13
boot.supportedFilesystems.zfs = true;
14
+ boot.zfs.forceImportRoot = false;
15
networking.hostId = "91312b0a";
16
17
fileSystems."/nix/var/nix/builds" = {
builders/profiles/hetzner-rx170.nix
+1
@@ -5,6 +5,7 @@
5
6
disko.devices = import ../disk-layouts/efi-zfs-raid0.nix { };
7
boot.supportedFilesystems.zfs = true;
8
+ boot.zfs.forceImportRoot = false;
9
networking.hostId = "91312b0a";
10
11
boot.initrd.availableKernelModules = [
builders/profiles/hetzner-rx220.nix
+1
@@ -5,6 +5,7 @@
5
6
disko.devices = import ../disk-layouts/efi-zfs-raid0.nix { };
7
boot.supportedFilesystems.zfs = true;
8
+ boot.zfs.forceImportRoot = false;
9
networking.hostId = "91312b0a";
10
11
boot.initrd.availableKernelModules = [
non-critical-infra/modules/common.nix
+1
@@ -7,6 +7,7 @@
7
];
8
9
boot.initrd.systemd.enable = true;
10
+ boot.zfs.forceImportRoot = false;
11
12
time.timeZone = "UTC";
13