diff --git a/systems/desktop.nix b/systems/desktop.nix index 6c33b13..1f9fd47 100644 --- a/systems/desktop.nix +++ b/systems/desktop.nix @@ -138,17 +138,17 @@ in { 127.0.0.1 im-project.im ''; - /*networking.wireguard = { + networking.wireguard = { wg0 = { - ips = [ "192.168.20.4/24" ]; - privateKey = "yAnz5TF+lXXJte14tji3zlMNq+hd2rYUIgJBgB3fBmk="; - peers = [ + /*ips = [ "192.168.20.4/24" ];*/ + privateKey = (import ../private/credentials.nix).wireguard.privateKey; + /*peers = [ { allowedIPs = [ "192.168.20.1/32" ]; publicKey = "2LAxq8w89vdCqa+Jdtk4xsaJ0OcbU/jv71mzm/K0pXE="; endpoint = "demo.wireguard.io:12913"; } - ]; + ];*/ }; - };*/ + }; nix.useSandbox = true; }