os/hosts/chocolatebar/networking.nix

20 lines
364 B
Nix

{
flake,
config,
pkgs,
lib,
...
}: {
networking.hostName = "chocolatebar";
age.secrets.wg-private-key.file = "${flake.self}/secrets/wg-private-chocolatebar.age";
pub-solar.wireguard.private = {
ownIPs = [
"10.13.12.5/32"
"fd00:b12f:acab:1312:acab:5::/96"
];
privateKeyFile = config.age.secrets.wg-private-key.path;
};
}