2023-10-19 18:55:56 +00:00
|
|
|
{
|
|
|
|
flake,
|
|
|
|
config,
|
|
|
|
pkgs,
|
2023-11-08 17:52:09 +00:00
|
|
|
lib,
|
2023-10-19 18:55:56 +00:00
|
|
|
...
|
|
|
|
}: {
|
2024-01-29 22:03:27 +00:00
|
|
|
networking.hostName = "chocolatebar";
|
2023-10-19 18:55:56 +00:00
|
|
|
|
2024-01-29 22:03:27 +00:00
|
|
|
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-chocolatebar.age";
|
|
|
|
|
|
|
|
pub-solar.wireguard-client = {
|
|
|
|
ownIPs = [
|
|
|
|
"10.0.1.5/32"
|
|
|
|
"fd00:b12f:acab:1312:acab:5::/96"
|
|
|
|
];
|
|
|
|
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
|
2023-10-19 18:55:56 +00:00
|
|
|
};
|
|
|
|
}
|