2023-10-19 18:55:56 +00:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = {
|
|
|
|
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-chocolatebar.age";
|
|
|
|
|
|
|
|
pub-solar.wireguard-client = {
|
2023-10-25 11:23:13 +00:00
|
|
|
ownIPs = [
|
|
|
|
"10.0.1.5/32"
|
2023-11-01 15:27:29 +00:00
|
|
|
"fd00:b12f:acab:1312:acab:5::/96"
|
2023-10-25 11:23:13 +00:00
|
|
|
];
|
2023-10-19 18:55:56 +00:00
|
|
|
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|