make transmissoind aemon:
:
This commit is contained in:
parent
da4f9505c3
commit
1bf257482f
14
modules/desktop/apps/transmission/daemon.nix
Normal file
14
modules/desktop/apps/transmission/daemon.nix
Normal 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 {
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
|
@ -4,6 +4,9 @@ let
|
||||||
cfg = config.modules.desktop.apps.transmission;
|
cfg = config.modules.desktop.apps.transmission;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
imports = [
|
||||||
|
./daemon.nix
|
||||||
|
];
|
||||||
options.modules.desktop.apps.transmission = {
|
options.modules.desktop.apps.transmission = {
|
||||||
enable = mkEnableOption false;
|
enable = mkEnableOption false;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue