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 = {
|
services.postgresql = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkEnableOption "PostgreSQL Server";
|
||||||
type = types.bool;
|
|
||||||
default = false;
|
|
||||||
description = ''
|
|
||||||
Whether to run PostgreSQL.
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
|
|
||||||
package = mkOption {
|
package = mkOption {
|
||||||
type = types.package;
|
type = types.package;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user