zfs: HEAVILY REFACTOR subvolume handling

This commit is contained in:
2025-11-20 16:06:29 -05:00
parent dd9042ae95
commit ae5189b6c6
12 changed files with 157 additions and 95 deletions

View File

@@ -7,8 +7,9 @@
}:
{
imports = [
(lib.serviceMountDeps "postgresql" [ config.services.postgresql.dataDir ])
(lib.serviceDependZpool "postgresql" service_configs.zpool_ssds)
(lib.serviceMountWithZpool "postgresql" service_configs.zpool_ssds [
config.services.postgresql.dataDir
])
];
services.postgresql = {