new network setup

This commit is contained in:
Swarsel 2024-02-18 14:56:46 +01:00
parent fd2f0e3601
commit abfa84e9aa
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
4 changed files with 92 additions and 50 deletions

View file

@ -12,6 +12,7 @@
# b2 backup @backblaze
restic
# "big" programs
filebot
gimp
@ -32,7 +33,16 @@
# games
lutris
#wine
wine
libudev-zero
dwarfs
fuse-overlayfs
steam
steam-run
patchelf
gamescope
vulkan-tools
openssl
# firefox related
tridactyl-native

View file

@ -21,6 +21,7 @@
networking.hostName = "fourside"; # Define your hostname.
networking.firewall.enable = false;
stylix.image = ../../wallpaper/lenovowp.png;
@ -73,6 +74,16 @@
hardware = {
opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
extraPackages = with pkgs; [
vulkan-loader
vulkan-validation-layers
vulkan-extension-layer
];
};
bluetooth.enable = true;
};

View file

@ -70,7 +70,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "https://192.168.2.5";
proxyPass = "https://192.168.1.5";
extraConfig = ''
client_max_body_size 0;
'';
@ -93,7 +93,7 @@
acmeRoot = null;
locations = {
"~ ^(/_matrix|/_synapse/client)" = {
proxyPass = "http://192.168.2.23:8008";
proxyPass = "http://192.168.1.23:8008";
extraConfig = ''
client_max_body_size 0;
'';
@ -149,7 +149,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.2.13:4040";
proxyPass = "http://192.168.1.13:4040";
proxyWebsockets = true;
extraConfig = ''
proxy_redirect http:// https://;
@ -169,7 +169,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.2.24:28981";
proxyPass = "http://192.168.1.24:28981";
extraConfig = ''
client_max_body_size 0;
'';
@ -183,7 +183,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.2.16:8096";
proxyPass = "http://192.168.1.16:8096";
extraConfig = ''
client_max_body_size 0;
'';
@ -197,7 +197,7 @@
acmeRoot = null;
locations = {
"~ ^(/_matrix|/_synapse/client)" = {
proxyPass = "http://192.168.2.20:8008";
proxyPass = "http://192.168.1.20:8008";
extraConfig = ''
client_max_body_size 0;
'';
@ -211,7 +211,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "http://192.168.2.22:8080";
proxyPass = "http://192.168.1.22:8080";
extraConfig = ''
client_max_body_size 0;
'';
@ -239,7 +239,7 @@
acmeRoot = null;
locations = {
"/" = {
proxyPass = "https://192.168.2.7";
proxyPass = "https://192.168.1.7";
extraConfig = ''
client_max_body_size 0;
'';