aboutsummaryrefslogtreecommitdiff
path: root/nixpkgs/nixos/modules/services/misc/disnix.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/nixos/modules/services/misc/disnix.nix')
-rw-r--r--nixpkgs/nixos/modules/services/misc/disnix.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/nixpkgs/nixos/modules/services/misc/disnix.nix b/nixpkgs/nixos/modules/services/misc/disnix.nix
index b7b6eb7cd66..69386cdbb38 100644
--- a/nixpkgs/nixos/modules/services/misc/disnix.nix
+++ b/nixpkgs/nixos/modules/services/misc/disnix.nix
@@ -17,10 +17,7 @@ in
services.disnix = {
- enable = mkOption {
- default = false;
- description = "Whether to enable Disnix";
- };
+ enable = mkEnableOption "Disnix";
enableMultiUser = mkOption {
type = types.bool;
@@ -28,10 +25,7 @@ in
description = "Whether to support multi-user mode by enabling the Disnix D-Bus service";
};
- useWebServiceInterface = mkOption {
- default = false;
- description = "Whether to enable the DisnixWebService interface running on Apache Tomcat";
- };
+ useWebServiceInterface = mkEnableOption "the DisnixWebService interface running on Apache Tomcat";
package = mkOption {
type = types.path;