Set up private key for desktop

master
Sven Slootweg 7 years ago
parent 01a8d0a46c
commit 1a6c0fbe79

@ -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;
}

Loading…
Cancel
Save