mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
treewide: use mkEnableOption
in nixos modules
This commit is contained in:
parent
095269c862
commit
b4674b39c1
31 changed files with 36 additions and 131 deletions
|
@ -26,11 +26,7 @@ in {
|
|||
### Interface
|
||||
|
||||
options.services.onedrive = {
|
||||
enable = lib.mkOption {
|
||||
type = lib.types.bool;
|
||||
default = false;
|
||||
description = lib.mdDoc "Enable OneDrive service";
|
||||
};
|
||||
enable = lib.mkEnableOption (lib.mdDoc "OneDrive service");
|
||||
|
||||
package = lib.mkOption {
|
||||
type = lib.types.package;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue