From dc78d14d65ef538edfae5c890d6e9ae2b919f70e Mon Sep 17 00:00:00 2001 From: joachimschmidt557 Date: Thu, 7 May 2020 10:59:07 +0200 Subject: [PATCH] nixos/postgresql: refactor enable option More consistency with other modules (mkEnableOption) --- nixos/modules/services/databases/postgresql.nix | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix index 0b79a996dc7..93f5c1ca5f5 100644 --- a/nixos/modules/services/databases/postgresql.nix +++ b/nixos/modules/services/databases/postgresql.nix @@ -34,13 +34,7 @@ in services.postgresql = { - enable = mkOption { - type = types.bool; - default = false; - description = '' - Whether to run PostgreSQL. - ''; - }; + enable = mkEnableOption "PostgreSQL Server"; package = mkOption { type = types.package;