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; security.sudo.wheelNeedsPassword = false;
boot.zfs.forceImportRoot = false;
system.stateVersion = "26.05"; system.stateVersion = "26.05";
} }

View File

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

View File

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