Move a zfs setting into the zfs role.

This commit is contained in:
Tom Alexander
2025-01-18 11:13:53 -05:00
parent 4f0024c4f9
commit 19cf31b094
2 changed files with 7 additions and 1 deletions

View File

@@ -44,4 +44,11 @@ in
zfs_clone_recv
zfs_clone_resume
];
environment.persistence."/persist" = lib.mkIf (!config.me.buildingIso) {
hideMounts = true;
directories = [
"/etc/zfs/zpool.cache" # Which zpools to import, the root zpool is already imported and does not need this cache file but this captures additional pools.
];
};
}