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-22 14:50:41 +00:00
|
|
|
ownIPs = [ "10.0.1.5/32" ];
|
2023-10-19 18:55:56 +00:00
|
|
|
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|