nix-config/hosts/16ach6/wireguard.nix
2026-02-23 20:50:47 +01:00

18 lines
348 B
Nix

{ inputs, ... }:
{
imports = [ inputs.synix.nixosModules.wg-client ];
networking.wg-client = {
enable = true;
interfaces = {
wg0 = {
clientAddress = "10.0.0.2";
peer = {
publicIP = "91.99.172.127";
publicKey = "hRrnXl1heROHfpXkHOmjITUpG/ht3omVsWurLcChIS4=";
};
};
};
};
}