os/hosts/biolimo/networking.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
415 B
Nix
Raw Normal View History

2023-10-19 18:55:56 +00:00
{
flake,
config,
pkgs,
lib,
2023-10-19 18:55:56 +00:00
...
}: {
networking.hostName = "biolimo";
networking.networkmanager.wifi.backend = "wpa_supplicant";
2023-10-19 18:55:56 +00:00
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-biolimo.age";
2024-02-12 15:46:46 +00:00
pub-solar.wireguard.private = {
ownIPs = [
"10.13.12.6/32"
"fd00:b12f:acab:1312:acab:6::/96"
];
2024-02-12 15:46:46 +00:00
privateKeyFile = config.age.secrets.wg-private-key.path;
2023-10-19 18:55:56 +00:00
};
}