nixos/postgresql: refactor enable option

More consistency with other modules (mkEnableOption)
This commit is contained in:
joachimschmidt557 2020-05-07 10:59:07 +02:00
parent 8ccf194370
commit dc78d14d65

View File

@ -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;