|
|
|
@ -60,17 +60,17 @@ in {
|
|
|
|
|
load-module module-combine-sink sink_name=all
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
/*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 = "xTIBA5rboUvnH4htodjb6e697QjLERt1NAB4mZqp8Dg=";
|
|
|
|
|
endpoint = "demo.wireguard.io:12913"; }
|
|
|
|
|
];
|
|
|
|
|
];*/
|
|
|
|
|
};
|
|
|
|
|
};
|
|
|
|
|
};*/
|
|
|
|
|
|
|
|
|
|
nix.useSandbox = true;
|
|
|
|
|
|
|
|
|
|