My Nix Configuration
1{ self', self, ... }: 2let 3 d = self.lib.data.services.nextcloud-office; 4in 5{ 6 services.collabora-online = { 7 enable = true; 8 inherit (d) port; 9 settings = { 10 ssl.enable = false; 11 ssl.termination = true; 12 }; 13 aliasGroups = [ 14 { 15 host = "https://office.pyrox.dev:443"; 16 } 17 { 18 host = "https://cloud.pyrox.dev:443"; 19 } 20 ]; 21 }; 22 services.anubis.instances.nextcloud-office = { 23 settings = { 24 BIND = ":${toString d.anubis}"; 25 POLICY_FNAME = "${self'.packages.anubis-files}/policies/nextcloud-office.yaml"; 26 TARGET = "http://localhost:${toString d.port}"; 27 }; 28 }; 29}