oops, synapse should not install unless enabled

This commit is contained in:
Danilo Reyes 2025-03-08 23:11:47 -06:00
parent cd0f96ee6e
commit 64e95af3da

View File

@ -22,7 +22,7 @@ in
}; };
}; };
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ]; networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];
services = { services = lib.mkIf cfg.enable {
matrix-synapse = { matrix-synapse = {
enable = true; enable = true;
extraConfigFiles = [ extraConfigFiles = [