From 09c308b93c8d6fd9b10d5cf5a1d9eeac1628907b Mon Sep 17 00:00:00 2001 From: Bernardo Magri Date: Thu, 18 Jun 2026 22:10:28 +0100 Subject: [PATCH] chore(boot): default boot.zfs.forceImportRoot = false (silence eval warning) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Nomarchy roots are BTRFS, never ZFS, but the zfs module's `true` default for forceImportRoot emits a warning on every eval/build ("recommended to set it to false, the new default from 26.11"). Adopt that default early via mkDefault — silences the noise, future-proofs for 26.11, and a real ZFS-root downstream can still force it back on. Co-Authored-By: Claude Opus 4.8 --- modules/nixos/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index b874fd8..bba2875 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -69,6 +69,11 @@ in console.earlySetup = lib.mkDefault true; boot.initrd.systemd.enable = lib.mkDefault true; + # Nomarchy roots are BTRFS, not ZFS, so adopt the 26.11 default early and + # silence the eval warning the old `true` default emits. mkDefault, so a + # genuine ZFS-root downstream can still force it back on. + boot.zfs.forceImportRoot = lib.mkDefault false; + # ── Wayland session: Hyprland ──────────────────────────────────── # Installs the binary, registers the session, wires up # xdg-desktop-portal-hyprland. Configuration is Home Manager's job.