media init i guess?
This commit is contained in:
parent
543ab58437
commit
c06994c7d2
1
modules/server/media/default.nix
Normal file
1
modules/server/media/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
{ imports = [ ./qbittorrent.nix ]; }
|
8
modules/server/media/qbittorrent.nix
Normal file
8
modules/server/media/qbittorrent.nix
Normal file
|
@ -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 { };
|
||||
}
|
Loading…
Reference in a new issue