From 210a3101defd89608e9218591d800a58c6707e68 Mon Sep 17 00:00:00 2001 From: kurogeek Date: Tue, 12 May 2026 16:49:03 +0700 Subject: [PATCH] specify boot.zfs.forceImportRoot --- machines/almach/disko.nix | 2 ++ machines/alpheratz/disko.nix | 2 ++ machines/canopus/disko.nix | 2 ++ machines/deneb/disko.nix | 2 ++ machines/hadar/disko.nix | 2 ++ machines/mirach/disko.nix | 2 ++ machines/neptune/disko.nix | 2 ++ machines/petra/disko.nix | 2 ++ machines/procyon/disko.nix | 2 ++ machines/ramus/disko.nix | 2 ++ machines/rana/disko.nix | 2 ++ machines/sirius/configuration.nix | 2 ++ machines/vega/disko.nix | 2 ++ 13 files changed, 26 insertions(+) diff --git a/machines/almach/disko.nix b/machines/almach/disko.nix index 9aeb823..3f25cfc 100644 --- a/machines/almach/disko.nix +++ b/machines/almach/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/alpheratz/disko.nix b/machines/alpheratz/disko.nix index a73ae29..5d54d70 100644 --- a/machines/alpheratz/disko.nix +++ b/machines/alpheratz/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/canopus/disko.nix b/machines/canopus/disko.nix index 6bbb54d..fa36f8e 100644 --- a/machines/canopus/disko.nix +++ b/machines/canopus/disko.nix @@ -13,6 +13,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/deneb/disko.nix b/machines/deneb/disko.nix index 6bbb54d..fa36f8e 100644 --- a/machines/deneb/disko.nix +++ b/machines/deneb/disko.nix @@ -13,6 +13,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/hadar/disko.nix b/machines/hadar/disko.nix index 6bbb54d..fa36f8e 100644 --- a/machines/hadar/disko.nix +++ b/machines/hadar/disko.nix @@ -13,6 +13,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/mirach/disko.nix b/machines/mirach/disko.nix index 5cdbd6e..009eb52 100644 --- a/machines/mirach/disko.nix +++ b/machines/mirach/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/neptune/disko.nix b/machines/neptune/disko.nix index e81d6ef..52b598a 100644 --- a/machines/neptune/disko.nix +++ b/machines/neptune/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/petra/disko.nix b/machines/petra/disko.nix index 8929723..f145ac3 100644 --- a/machines/petra/disko.nix +++ b/machines/petra/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/procyon/disko.nix b/machines/procyon/disko.nix index 6bbb54d..fa36f8e 100644 --- a/machines/procyon/disko.nix +++ b/machines/procyon/disko.nix @@ -13,6 +13,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/ramus/disko.nix b/machines/ramus/disko.nix index b23936d..c6bf661 100644 --- a/machines/ramus/disko.nix +++ b/machines/ramus/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/rana/disko.nix b/machines/rana/disko.nix index 5153edd..b386c01 100644 --- a/machines/rana/disko.nix +++ b/machines/rana/disko.nix @@ -14,6 +14,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = { diff --git a/machines/sirius/configuration.nix b/machines/sirius/configuration.nix index 05b6cc7..bfcac65 100644 --- a/machines/sirius/configuration.nix +++ b/machines/sirius/configuration.nix @@ -45,6 +45,8 @@ boot.loader.grub.enable = false; boot.loader.generic-extlinux-compatible.enable = true; + boot.zfs.forceImportRoot = false; + boot.zfs.extraPools = [ "zdata" ]; boot.supportedFilesystems = [ "zfs" ]; boot.initrd.availableKernelModules = [ diff --git a/machines/vega/disko.nix b/machines/vega/disko.nix index 9d7a10f..f930d09 100644 --- a/machines/vega/disko.nix +++ b/machines/vega/disko.nix @@ -18,6 +18,8 @@ in }; }; + boot.zfs.forceImportRoot = true; + disko.devices = { disk = { "os-${hashDisk os}" = {