use colmena apply-local
This commit is contained in:
parent
4cb9acc4f9
commit
9f9a4d0377
2 changed files with 58 additions and 22 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue