use fqdn for hosts
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Vivian 2022-07-31 11:01:36 +02:00
parent 2f3a7c081e
commit 9cf1d45eb8
2 changed files with 4 additions and 4 deletions

View file

@ -46,15 +46,15 @@
]
else [ ./nixos/common/generic-vm.nix ]);
mkConfig = { hostname, ... }@host: {
"${hostname}" = lib.nixosSystem {
mkConfig = { hostname, location, ... }@host: {
"${hostname}.${location}" = lib.nixosSystem {
inherit system specialArgs;
modules = resolveImports host;
};
};
mkColmenaHost = { ip, hostname, tags, location, ... }@host: {
"${hostname}" = {
"${hostname}.${location}" = {
imports = resolveImports host;
networking = {
hostName = hostname;

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, nodes, ... }:
let
proxy = url: {
enableACME = true;