Enable domain and domainSearch

This commit is contained in:
Jonas Juselius
2020-11-19 14:59:08 +01:00
parent e6a5467ed0
commit 0ee8d5c3da

View File

@@ -12,19 +12,19 @@ in
}; };
hostName = mkOption { hostName = mkOption {
type = types.nullOr types.str;
default = null;
};
domain = mkOption {
type = types.str; type = types.str;
default = null; default = null;
}; };
# domain = mkOption { searchDomains = mkOption {
# type = types.str; type = types.listOf types.str;
# default = "local"; default = [ cfg.domain ];
# }; };
# searchDomains = mkOption {
# type = types.listOf types.str;
# default = [ cfg.domain ];
# };
cert = mkOption { cert = mkOption {
type = types.attrs; type = types.attrs;
@@ -55,8 +55,8 @@ in
networking = { networking = {
hostName = cfg.hostName; hostName = cfg.hostName;
# domain = cfg.domain; domain = cfg.domain;
# search = cfg.searchDomains; search = cfg.searchDomains;
extraHosts = cfg.extraHosts; extraHosts = cfg.extraHosts;
}; };