nixos/postgresql: refactor enable option
More consistency with other modules (mkEnableOption)
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user