wireguard

This commit is contained in:
Henri Dohmen 2025-05-26 23:15:15 +02:00
parent 7268b56265
commit bdccb2f265
2 changed files with 10 additions and 5 deletions

View file

@ -1,4 +1,9 @@
{ host, var, ... }:
{
host,
var,
lib,
...
}:
{
hardware.bluetooth.enable = true;
services.blueman.enable = true;
@ -18,7 +23,7 @@
"onet" = {
address = var.wg.wireguard-network.${host}.ips;
privateKeyFile = var.wg.keyFile;
peers = var.wg.peers-for host;
peers = [ (lib.removeAttrs var.wg.wireguard-network."roam" [ "ips" ]) ];
};
"mullvad" =
let