tohru: rearrange and split up configuration

This commit is contained in:
Katherina Walshe-Grey 2024-08-30 18:22:13 +01:00
parent 444c69edd3
commit d112e705f1
7 changed files with 103 additions and 118 deletions

View file

@ -0,0 +1,12 @@
{ config, lib, pkgs, ... }:
{
networking.networkmanager.enable = true;
age.secrets.wireguard-peer-tohru.file = ../../secrets/wireguard-peer-tohru.age;
birdsong.peering = {
enable = true;
privateKeyFile = config.age.secrets.wireguard-peer-tohru.path;
persistentKeepalive = 23;
};
}