os/hosts/chocolatebar/networking.nix
2023-10-19 23:17:35 +02:00

19 lines
342 B
Nix

{
flake,
config,
pkgs,
...
}: {
config = {
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-chocolatebar.age";
pub-solar.wireguard-client = {
ownIPs = [
"10.0.1.5/32"
"fd00:acab:1312:acab:5::/128"
];
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
};
};
}