Enable domain and domainSearch
This commit is contained in:
@@ -12,19 +12,19 @@ in
|
||||
};
|
||||
|
||||
hostName = mkOption {
|
||||
type = types.nullOr types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
domain = mkOption {
|
||||
type = types.str;
|
||||
default = null;
|
||||
};
|
||||
|
||||
# domain = mkOption {
|
||||
# type = types.str;
|
||||
# default = "local";
|
||||
# };
|
||||
|
||||
# searchDomains = mkOption {
|
||||
# type = types.listOf types.str;
|
||||
# default = [ cfg.domain ];
|
||||
# };
|
||||
searchDomains = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [ cfg.domain ];
|
||||
};
|
||||
|
||||
cert = mkOption {
|
||||
type = types.attrs;
|
||||
@@ -55,8 +55,8 @@ in
|
||||
|
||||
networking = {
|
||||
hostName = cfg.hostName;
|
||||
# domain = cfg.domain;
|
||||
# search = cfg.searchDomains;
|
||||
domain = cfg.domain;
|
||||
search = cfg.searchDomains;
|
||||
extraHosts = cfg.extraHosts;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user