use colmena apply-local

This commit is contained in:
Henri Dohmen 2026-01-13 18:34:48 +01:00
parent 4cb9acc4f9
commit 9f9a4d0377
Signed by: hd
GPG key ID: AB79213B044674AE
2 changed files with 58 additions and 22 deletions

View file

@ -32,7 +32,7 @@ in
wg-quick = {
interfaces = {
"onet" = {
address = var.wg.wireguard-network.${host}.ips;
address = var.wg.wireguard-network.${config.networking.hostName}.ips;
privateKeyFile = var.wg.keyFile;
peers = [ (lib.removeAttrs var.wg.wireguard-network."roam" [ "ips" ]) ];
mtu = 1248;