mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-18 02:44:30 +00:00
nixos/zabbix-proxy: fix option default
Apparently I forgot to test this one while developing
5142b7afa8
("nixos/postgresql: turn
settings into a submodule").
Apologies!
This commit is contained in:
parent
19a48432b1
commit
c323ea63f0
@ -103,7 +103,7 @@ in
|
||||
|
||||
port = mkOption {
|
||||
type = types.port;
|
||||
default = if cfg.database.type == "mysql" then mysql.port else pgsql.services.port;
|
||||
default = if cfg.database.type == "mysql" then mysql.port else pgsql.settings.port;
|
||||
defaultText = literalExpression ''
|
||||
if config.${opt.database.type} == "mysql"
|
||||
then config.${options.services.mysql.port}
|
||||
|
Loading…
Reference in New Issue
Block a user