set hostname toplevel
This commit is contained in:
parent
4b7d60c090
commit
da4217c681
17 changed files with 5 additions and 32 deletions
|
@ -53,9 +53,13 @@
|
|||
};
|
||||
};
|
||||
|
||||
mkColmenaHost = { ip, hostname, tags, ... }@host: {
|
||||
mkColmenaHost = { ip, hostname, tags, location, ... }@host: {
|
||||
"${hostname}" = {
|
||||
imports = resolveImports host;
|
||||
networking = {
|
||||
hostName = hostname;
|
||||
domain = location;
|
||||
};
|
||||
deployment = {
|
||||
inherit tags;
|
||||
targetHost = ip;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue