This commit is contained in:
parent
2f3a7c081e
commit
9cf1d45eb8
|
@ -46,15 +46,15 @@
|
||||||
]
|
]
|
||||||
else [ ./nixos/common/generic-vm.nix ]);
|
else [ ./nixos/common/generic-vm.nix ]);
|
||||||
|
|
||||||
mkConfig = { hostname, ... }@host: {
|
mkConfig = { hostname, location, ... }@host: {
|
||||||
"${hostname}" = lib.nixosSystem {
|
"${hostname}.${location}" = lib.nixosSystem {
|
||||||
inherit system specialArgs;
|
inherit system specialArgs;
|
||||||
modules = resolveImports host;
|
modules = resolveImports host;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
mkColmenaHost = { ip, hostname, tags, location, ... }@host: {
|
mkColmenaHost = { ip, hostname, tags, location, ... }@host: {
|
||||||
"${hostname}" = {
|
"${hostname}.${location}" = {
|
||||||
imports = resolveImports host;
|
imports = resolveImports host;
|
||||||
networking = {
|
networking = {
|
||||||
hostName = hostname;
|
hostName = hostname;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, nodes, ... }:
|
||||||
let
|
let
|
||||||
proxy = url: {
|
proxy = url: {
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
|
Loading…
Reference in a new issue