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