set hostname toplevel

This commit is contained in:
Vivian 2022-07-30 22:57:42 +02:00
parent 4b7d60c090
commit da4217c681
17 changed files with 5 additions and 32 deletions

View file

@ -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;