feat: working nixos

This commit is contained in:
Philipp Hochkamp 2022-03-25 13:32:05 +01:00
parent fff61d5fd7
commit 7a85f7cec6
7 changed files with 13 additions and 12 deletions

View file

@ -13,6 +13,7 @@ in
config = lib.mkIf cfg.enable {
services.unifi = {
enable = true;
openFirewall = true;
};
services.nginx.virtualHosts."${cfg.domainPrefix}.${domain}" = {
forceSSL = true;