diff --git a/modules/server/media/default.nix b/modules/server/media/default.nix new file mode 100644 index 00000000..a518b1c9 --- /dev/null +++ b/modules/server/media/default.nix @@ -0,0 +1 @@ +{ imports = [ ./qbittorrent.nix ]; } diff --git a/modules/server/media/qbittorrent.nix b/modules/server/media/qbittorrent.nix new file mode 100644 index 00000000..88792d01 --- /dev/null +++ b/modules/server/media/qbittorrent.nix @@ -0,0 +1,8 @@ +{ config, lib, pkgs, ... }: +with lib; +let cfg = config.void.server.media.qbittorrent; +in { + options.void.server.media.qbittorrent = { enable = mkEnableOption false; }; + + config = mkIf cfg.enable { }; +}