From 2059f44af09f6a27291c5659b4ebec73b4cdc5c4 Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Wed, 27 May 2020 21:36:31 +0200 Subject: [PATCH] nixos/rethinkdb: refactor enable option --- nixos/modules/services/databases/rethinkdb.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nixos/modules/services/databases/rethinkdb.nix b/nixos/modules/services/databases/rethinkdb.nix index f18fbaf5b062..c764d6c21c6c 100644 --- a/nixos/modules/services/databases/rethinkdb.nix +++ b/nixos/modules/services/databases/rethinkdb.nix @@ -15,10 +15,7 @@ in services.rethinkdb = { - enable = mkOption { - default = false; - description = "Whether to enable the RethinkDB server."; - }; + enable = mkEnableOption "RethinkDB server"; #package = mkOption { # default = pkgs.rethinkdb;