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