birdsong: fully modularise existing wireguard config
This commit is contained in:
parent
5b79e6826b
commit
e90afae7ac
6 changed files with 197 additions and 52 deletions
|
@ -6,10 +6,6 @@
|
|||
birdsong.peer = {
|
||||
enable = true;
|
||||
privateKeyFile = config.age.secrets.wireguard-peer-tohru.path;
|
||||
listenPort = 51821;
|
||||
persistentKeepalive = 23;
|
||||
};
|
||||
|
||||
# TODO: get this from a list of peers, keyed on hostname
|
||||
networking.wireguard.interfaces.birdsong.ips = [ "10.127.1.3/24" "fd70:81ca:0f8f:1::3/64" ];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue