This commit is contained in:
parent
2f3a7c081e
commit
9cf1d45eb8
2 changed files with 4 additions and 4 deletions
|
@ -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;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, nodes, ... }:
|
||||
let
|
||||
proxy = url: {
|
||||
enableACME = true;
|
||||
|
|
Loading…
Reference in a new issue