os/hosts/biolimo/networking.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

20 lines
348 B
Nix
Raw Permalink Normal View History

2023-10-19 18:55:56 +00:00
{
flake,
config,
pkgs,
lib,
2023-10-19 18:55:56 +00:00
...
}: {
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"
];
2023-10-19 18:55:56 +00:00
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
};
};
}