plex unstable, add mikey and boogino to wireguard
This commit is contained in:
parent
6756bf89d0
commit
5c284d3760
@ -28,6 +28,7 @@ in
|
|||||||
./plex.nix
|
./plex.nix
|
||||||
./dns.nix
|
./dns.nix
|
||||||
./minecraft.nix
|
./minecraft.nix
|
||||||
|
./plex.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
time.timeZone = "Europe/Rome";
|
time.timeZone = "Europe/Rome";
|
||||||
@ -121,6 +122,10 @@ in
|
|||||||
${germano-wg} germano.devs.giugl.io
|
${germano-wg} germano.devs.giugl.io
|
||||||
${dodino-wg} dodino.devs.giugl.io
|
${dodino-wg} dodino.devs.giugl.io
|
||||||
${tommy-wg} tommy.devs.giugl.io
|
${tommy-wg} tommy.devs.giugl.io
|
||||||
|
${alain-wg} alain.devs.giugl.io
|
||||||
|
${dima-wg} dima.devs.giugl.io
|
||||||
|
${boogino-wg} boogino.devs.giugl.io
|
||||||
|
${mikey-wg} mikey.devs.giugl.io
|
||||||
|
|
||||||
# Blacklist
|
# Blacklist
|
||||||
0.0.0.0 metrics.plex.tv
|
0.0.0.0 metrics.plex.tv
|
||||||
@ -164,6 +169,7 @@ in
|
|||||||
zfs.autoScrub.enable = true;
|
zfs.autoScrub.enable = true;
|
||||||
xserver.videoDrivers = [ "nvidia" ];
|
xserver.videoDrivers = [ "nvidia" ];
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
|
smartd.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.variables = {
|
environment.variables = {
|
||||||
|
@ -37,10 +37,12 @@ rec {
|
|||||||
tommy-wg = "10.3.0.21";
|
tommy-wg = "10.3.0.21";
|
||||||
alain-wg = "10.3.0.22";
|
alain-wg = "10.3.0.22";
|
||||||
dima-wg = "10.3.0.23";
|
dima-wg = "10.3.0.23";
|
||||||
|
mikey-wg = "10.3.0.24";
|
||||||
eleonora-wg = "10.3.0.100";
|
eleonora-wg = "10.3.0.100";
|
||||||
broccolino-wg = "10.3.0.200";
|
broccolino-wg = "10.3.0.200";
|
||||||
hotpottino-wg = "10.3.0.201";
|
hotpottino-wg = "10.3.0.201";
|
||||||
dodino-wg = "10.3.0.202";
|
dodino-wg = "10.3.0.202";
|
||||||
|
boogino-wg = "10.3.0.203";
|
||||||
|
|
||||||
# groups
|
# groups
|
||||||
gdevices-wg = [ galuminum-wg oneplus-wg ipad-wg gbeast-wg peppiniell-wg padulino-wg angelino-wg ];
|
gdevices-wg = [ galuminum-wg oneplus-wg ipad-wg gbeast-wg peppiniell-wg padulino-wg angelino-wg ];
|
||||||
|
@ -14,12 +14,7 @@ with import ./network.nix;
|
|||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
http2 = true;
|
http2 = true;
|
||||||
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
allow 10.0.0.0/24;
|
|
||||||
allow 10.3.0.0/24;
|
|
||||||
deny all;
|
|
||||||
|
|
||||||
#Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
#Some players don't reopen a socket and playback stops totally instead of resuming after an extended pause
|
||||||
send_timeout 100m;
|
send_timeout 100m;
|
||||||
|
|
||||||
@ -76,7 +71,7 @@ with import ./network.nix;
|
|||||||
proxy_buffering off;
|
proxy_buffering off;
|
||||||
'';
|
'';
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://localhost:32400/";
|
proxyPass = "https://localhost:32400";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -177,6 +177,18 @@ with import ./network.nix;
|
|||||||
allowedIPs = [dima-wg];
|
allowedIPs = [dima-wg];
|
||||||
publicKey = "svzWYIZ6v+cLCp/emGG7mx2YpBJqw2fqjVuHZy7b6H0=";
|
publicKey = "svzWYIZ6v+cLCp/emGG7mx2YpBJqw2fqjVuHZy7b6H0=";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
# boogino
|
||||||
|
allowedIPs = [boogino-wg];
|
||||||
|
publicKey = "p21tD9S04+b+TC27a1CvkJL7V6fcfjOpVU7Ke1FzV3A=";
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
# mikey
|
||||||
|
allowedIPs = [mikey-wg];
|
||||||
|
publicKey = "ewbDdX3z7nxG2aPIf9TogXkhxPlGipLFcy6XfyDC6gI=";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user