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

@@ -8,13 +8,12 @@
}:
{
imports = [
(lib.serviceMountDeps "qbittorrent" [
(lib.serviceMountWithZpool "qbittorrent" service_configs.zpool_hdds [
service_configs.torrents_path
config.services.qbittorrent.serverConfig.Preferences.Downloads.TempPath
"${config.services.qbittorrent.profileDir}/qBittorrent"
])
(lib.vpnNamespaceOpenPort config.services.qbittorrent.webuiPort "qbittorrent")
(lib.serviceDependZpool "qbittorrent" service_configs.zpool_hdds)
];
services.qbittorrent = {