Enable domain and domainSearch
This commit is contained in:
@@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user