diff options
author | Daniel Nagy <danielnagy@posteo.de> | 2022-11-09 22:45:00 +0100 |
---|---|---|
committer | Daniel Nagy <danielnagy@posteo.de> | 2022-11-10 09:30:00 +0100 |
commit | b4674b39c1928f05118ea0c1c4fb8ab66190edd6 (patch) | |
tree | 4d89384b89b51100ccf9ca3c244d62bd3b15892f /nixos/modules/services/monitoring/arbtt.nix | |
parent | 095269c8622e878eaaac117cc6b63dd1a4970a68 (diff) | |
download | nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.gz nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.bz2 nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.lz nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.xz nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.tar.zst nixpkgs-b4674b39c1928f05118ea0c1c4fb8ab66190edd6.zip |
treewide: use `mkEnableOption` in nixos modules
Diffstat (limited to 'nixos/modules/services/monitoring/arbtt.nix')
-rw-r--r-- | nixos/modules/services/monitoring/arbtt.nix | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/nixos/modules/services/monitoring/arbtt.nix b/nixos/modules/services/monitoring/arbtt.nix index 8bf4f78cc72..f07ecc5d5dd 100644 --- a/nixos/modules/services/monitoring/arbtt.nix +++ b/nixos/modules/services/monitoring/arbtt.nix @@ -7,13 +7,7 @@ let in { options = { services.arbtt = { - enable = mkOption { - type = types.bool; - default = false; - description = lib.mdDoc '' - Enable the arbtt statistics capture service. - ''; - }; + enable = mkEnableOption (lib.mdDoc "Arbtt statistics capture service"); package = mkOption { type = types.package; |