refactor: split configurations for fail2ban, postgres, and qbittorent into folders

This commit is contained in:
Leyla Becker 2025-10-24 13:08:13 -05:00
parent ad04be6534
commit 0f5507c328
13 changed files with 296 additions and 263 deletions

View file

@ -0,0 +1,18 @@
{
lib,
config,
...
}: {
options.services.qbittorrent = {
mediaDir = lib.mkOption {
type = lib.types.path;
description = lib.mdDoc ''
The directory to create to store qbittorrent media.
'';
};
};
config = lib.mkIf config.services.qbittorrent.enable {
# Main qbittorrent configuration goes here if needed
};
}