diff options
author | Matthew Justin Bauer <mjbauer95@gmail.com> | 2018-04-25 14:54:34 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-25 14:54:34 -0500 |
commit | e4d2d32a32c2523dcab34200fce7f58196ab5c54 (patch) | |
tree | e01184ef46227de15078d892327b4a430da881d5 /nixos/modules/services | |
parent | 160d9ed652a56c804b3aaa012c9dec2aafef42df (diff) | |
parent | fe840cd3339eba56855840630d22889ee1424bfb (diff) | |
download | nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar.gz nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar.bz2 nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar.lz nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar.xz nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.tar.zst nixlib-e4d2d32a32c2523dcab34200fce7f58196ab5c54.zip |
Merge pull request #33679 from flokli/deluge-module
Deluge: use mkEnableOption, add test
Diffstat (limited to 'nixos/modules/services')
-rw-r--r-- | nixos/modules/services/torrent/deluge.nix | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/nixos/modules/services/torrent/deluge.nix b/nixos/modules/services/torrent/deluge.nix index ec1e97f4125e..bff22cd13594 100644 --- a/nixos/modules/services/torrent/deluge.nix +++ b/nixos/modules/services/torrent/deluge.nix @@ -11,10 +11,7 @@ in { options = { services = { deluge = { - enable = mkOption { - default = false; - description = "Start the Deluge daemon"; - }; + enable = mkEnableOption "Deluge daemon"; openFilesLimit = mkOption { default = openFilesLimit; @@ -25,14 +22,7 @@ in { }; }; - deluge.web = { - enable = mkOption { - default = false; - description = '' - Start Deluge Web daemon. - ''; - }; - }; + deluge.web.enable = mkEnableOption "Deluge Web daemon"; }; }; |