os/hosts/stroopwafel/networking.nix

21 lines
421 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
networking.hostName = "stroopwafel";
networking.networkmanager.wifi.backend = "wpa_supplicant";
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-stroopwafel.age";
pub-solar.wireguard-client = {
ownIPs = [
"10.13.12.8/32"
"fd00:b12f:acab:1312:acab:8::/96"
];
wireguardPrivateKeyFile = "/run/agenix/wg-private-key";
};
}