2023-03-07 02:25:57 +02:00
|
|
|
{ config, depot, lib, tools, ... }:
|
2021-06-05 23:59:06 +03:00
|
|
|
let
|
2021-10-16 15:27:20 +03:00
|
|
|
orgDomain = tools.meta.domain;
|
2023-03-07 02:25:57 +02:00
|
|
|
host = depot.reflection;
|
2021-06-05 23:59:06 +03:00
|
|
|
in {
|
2021-10-16 15:27:20 +03:00
|
|
|
networking.domain = lib.mkDefault "${host.enterprise.subdomain or "services"}.${orgDomain}";
|
|
|
|
networking.search = [ config.networking.domain "search.${orgDomain}" ];
|
2021-10-16 15:27:30 +03:00
|
|
|
security.pki.certificates = [ (builtins.readFile ../../data/ca.crt) ];
|
2021-06-05 23:59:06 +03:00
|
|
|
}
|