make transmissoind aemon:

:
This commit is contained in:
Sakooooo 2023-07-28 01:14:43 +03:00
parent da4f9505c3
commit 1bf257482f
Signed by: sako
GPG key ID: 3FD715D87D7725E0
2 changed files with 17 additions and 0 deletions

View file

@ -0,0 +1,14 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.transmission.daemon;
in
{
options.modules.desktop.apps.transmission.daemon = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
};
}

View file

@ -4,6 +4,9 @@ let
cfg = config.modules.desktop.apps.transmission;
in
{
imports = [
./daemon.nix
];
options.modules.desktop.apps.transmission = {
enable = mkEnableOption false;
};