mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-20 04:31:52 +00:00
deluge: use mkEnableOption
This commit is contained in:
parent
d503d493ab
commit
8fccc7e1df
|
@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue