2023-10-19 18:55:56 +00:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config = {
|
|
|
|
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-droppie.age";
|
|
|
|
|
|
|
|
pub-solar.wireguard-client = {
|
2023-10-25 11:23:13 +00:00
|
|
|
ownIPs = [
|
|
|
|
"10.0.1.3/32"
|
|
|
|
"fd00:acab:1312:acab:3::/128"
|
|
|
|
];
|
2023-10-19 18:55:56 +00:00
|
|
|
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|