fix: resolve Nix 'boot.zfs.forceImportRoot' default value warning

This commit is contained in:
2026-05-22 17:46:10 +02:00
parent 41bf403247
commit d7e4574c9e
3 changed files with 7 additions and 7 deletions

View File

@@ -37,5 +37,6 @@ in
security.sudo.wheelNeedsPassword = false;
boot.zfs.forceImportRoot = false;
system.stateVersion = "26.05";
}

View File

@@ -21,13 +21,11 @@ in
name = "raspberry-pi";
};
boot.kernelParams = [
"console=ttyS1,115200n8"
];
boot.kernelModules = [
"bcm2835-v4l2"
];
boot = {
kernelParams = [ "console=ttyS1,115200n8" ];
kernelModules = [ "bcm2835-v4l2" ];
zfs.forceImportRoot = false;
};
hardware.enableRedistributableFirmware = true;

View File

@@ -23,6 +23,7 @@ in
config = {
system.stateVersion = lib.mkDefault "25.05";
boot.zfs.forceImportRoot = lib.mkDefault false;
nix = {
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; # https://github.com/nix-community/nixd/blob/main/nixd/docs/configuration.md