os/hosts/biolimo/networking.nix

20 lines
348 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
config = {
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-biolimo.age";
pub-solar.wireguard-client = {
ownIPs = [
"10.0.1.6/32"
"fd00:b12f:acab:1312:acab:6::/96"
];
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
};
};
}