Unverified Commit c323ea63 authored by Maximilian Bosch's avatar Maximilian Bosch
Browse files

nixos/zabbix-proxy: fix option default

Apparently I forgot to test this one while developing
5142b7af ("nixos/postgresql: turn
settings into a submodule").

Apologies!
parent 19a48432
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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}