mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 15:33:13 +00:00
nixos/postgresql: refactor enable option
More consistency with other modules (mkEnableOption)
This commit is contained in:
parent
8ccf194370
commit
dc78d14d65
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user