depot/modules/enterprise/default.nix

9 lines
274 B
Nix
Raw Normal View History

2023-08-31 01:55:45 +03:00
{ config, depot, lib, ... }:
2021-06-05 23:59:06 +03:00
let
2023-08-31 01:55:45 +03:00
orgDomain = depot.lib.meta.domain;
host = config.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-06-05 23:59:06 +03:00
}