From c06994c7d2dc71c263fb9c6f8af4d8492d9018ea Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Wed, 1 Jan 2025 14:23:40 +0400 Subject: [PATCH] media init i guess? --- modules/server/media/default.nix | 1 + modules/server/media/qbittorrent.nix | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 modules/server/media/default.nix create mode 100644 modules/server/media/qbittorrent.nix 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 { }; +}