Add ZFS pool to import on boot

This commit is contained in:
Johannes Rothe 2025-03-20 22:59:24 +01:00
parent 3ed8879fe4
commit 5880629b4b

View File

@ -24,9 +24,12 @@
device = lib.mkForce "/dev/disk/by-uuid/26973b85-9c65-488b-93fb-8992ea0f8d50";
crypttabExtraOpts = [ "tpm2-device=auto" ];
};
# Required for ZFS, see https://openzfs.github.io/openzfs-docs/Getting%20Started/NixOS/index.html
# Required for ZFS, see https://openzfs.github.io/openzfs-docs/Getting%20Started/NixOS/index.html
supportedFilesystems = [ "zfs" ];
zfs.forceImportRoot = false;
zfs = {
extraPools = ["storage"];
forceImportRoot = false;
};
};
networking = {