diff --git a/hosts/sobotka/default.nix b/hosts/sobotka/default.nix index 52f20249..2c663b7c 100644 --- a/hosts/sobotka/default.nix +++ b/hosts/sobotka/default.nix @@ -44,6 +44,23 @@ in { networking = { hostName = "sobotka"; domain = "cnst.dev"; + wireguard = { + interfaces.wg0 = { + ips = [ + "127.0.0.1/8" + ]; + peers = [ + { + allowedIPs = [ + "192.168.88.13/24" + ]; + # endpoint = "demo.wireguard.io:12913"; + # publicKey = "xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg="; + } + ]; + # privateKey = "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk="; + }; + }; }; powerManagement.enable = false;