modified setup function so now domain is a variable
This commit is contained in:
parent
a0efbc5188
commit
9c3645b9eb
@ -12,9 +12,13 @@ let
|
||||
type = lib.types.str;
|
||||
default = name;
|
||||
};
|
||||
domain = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = config.my.domain;
|
||||
};
|
||||
host = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "${subdomain}.${config.my.domain}";
|
||||
default = "${subdomain}.${config.my.servers.${name}.domain}";
|
||||
};
|
||||
hostName = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user