From 1bf257482faed402986565de9930c72c8cd9667f Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 28 Jul 2023 01:14:43 +0300 Subject: [PATCH] make transmissoind aemon: : --- modules/desktop/apps/transmission/daemon.nix | 14 ++++++++++++++ modules/desktop/apps/transmission/default.nix | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 modules/desktop/apps/transmission/daemon.nix diff --git a/modules/desktop/apps/transmission/daemon.nix b/modules/desktop/apps/transmission/daemon.nix new file mode 100644 index 00000000..373d3430 --- /dev/null +++ b/modules/desktop/apps/transmission/daemon.nix @@ -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 { + + }; +} diff --git a/modules/desktop/apps/transmission/default.nix b/modules/desktop/apps/transmission/default.nix index 938dff54..1de31f4d 100644 --- a/modules/desktop/apps/transmission/default.nix +++ b/modules/desktop/apps/transmission/default.nix @@ -4,6 +4,9 @@ let cfg = config.modules.desktop.apps.transmission; in { + imports = [ + ./daemon.nix + ]; options.modules.desktop.apps.transmission = { enable = mkEnableOption false; };