From dd0e79a00269dec86fe6a28d8512a22667e543fc Mon Sep 17 00:00:00 2001 From: r-vdp Date: Sun, 31 May 2026 14:15:04 +0300 Subject: [PATCH] nixos/tests/installer: fix clevis ZFS tests Follow-up to c5feb3c42401 / #525613, which fixed zfsroot and separateBootZfs after a2e55e31d6b flipped the default of boot.zfs.forceImportRoot to false, but missed the clevis ZFS tests. Without a matching hostId on the installer side, the target refuses to import the pool ("pool was previously in use from another system"). --- nixos/tests/installer.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/tests/installer.nix b/nixos/tests/installer.nix index 531d075d75cf..3d6cb2881dba 100644 --- a/nixos/tests/installer.nix +++ b/nixos/tests/installer.nix @@ -1118,6 +1118,7 @@ let enableOCR = fallback; extraInstallerConfig = { boot.supportedFilesystems = [ "zfs" ]; + networking.hostId = "00000000"; environment.systemPackages = with pkgs; [ clevis ]; }; createPartitions = ''