diff --git a/nixos/modules/services/matrix/tuwunel.nix b/nixos/modules/services/matrix/tuwunel.nix index 1c760c6293cb..6296fd6cb6cf 100644 --- a/nixos/modules/services/matrix/tuwunel.nix +++ b/nixos/modules/services/matrix/tuwunel.nix @@ -81,7 +81,6 @@ in description = '' Addresses (IPv4 or IPv6) to listen on for connections by the reverse proxy/tls terminator. If set to `null`, tuwunel will listen on IPv4 and IPv6 localhost. - Must be `null` if `unix_socket_path` is set. ''; }; global.port = lib.mkOption { @@ -167,14 +166,6 @@ in config = lib.mkIf cfg.enable { assertions = [ - { - assertion = !(cfg.settings ? global.unix_socket_path) || !(cfg.settings ? global.address); - message = '' - In `services.matrix-tuwunel.settings.global`, `unix_socket_path` and `address` cannot be set at the - same time. - Leave one of the two options unset or explicitly set them to `null`. - ''; - } { assertion = cfg.user != defaultUser -> config ? users.users.${cfg.user}; message = "If `services.matrix-tuwunel.user` is changed, the configured user must already exist.";