Unverified Commit 0556c426 authored by Marcel's avatar Marcel Committed by GitHub
Browse files

nixos/pretix: fix database.host option type (#343917)

Support database configuration using TCP and not only Unix sockets.
parent b4dc3691
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -249,7 +249,7 @@ in
            };

            host = mkOption {
              type = with types; nullOr path;
              type = with types; nullOr str;
              default = if cfg.settings.database.backend == "postgresql" then "/run/postgresql" else null;
              defaultText = literalExpression ''
                if config.services.pretix.settings..database.backend == "postgresql" then "/run/postgresql"