From 0401cdd6db3ebb86fc60f56749270f7c640b090b Mon Sep 17 00:00:00 2001 From: leon Date: Sun, 20 Nov 2022 14:02:40 +0000 Subject: [PATCH] update --- hosts/leon/default.nix | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/hosts/leon/default.nix b/hosts/leon/default.nix index bfe010d2..b46adbaa 100644 --- a/hosts/leon/default.nix +++ b/hosts/leon/default.nix @@ -36,7 +36,7 @@ volumes = [ { image = "nix-store-overlay.img"; mountPoint = config.microvm.writableStoreOverlay; - size = 3048; + size = 5048; } ]; }; nix.settings.auto-optimise-store = lib.mkForce false; @@ -84,7 +84,10 @@ allowedTCPPorts = [ 5000 22 53 80 8080 ]; allowedUDPPorts = [ 5000 22 53 80 8080 18900 19900 ]; }; - + + #networking.firewall.extraCommands = '' + # iptables + # ''; #_______________________________Begin-VPN1-Server____________________________________ networking.wireguard.interfaces = { @@ -219,20 +222,25 @@ networking.wireguard.interfaces = { #-----------------------------ngin-X-------------------------------- -# services.nginx = { -# listen 80; -# enable = true; -# virtualHosts."bicospacetech.c3d2.de" = { -# default = true; -# forceSSL = true; -# enableACME = true; -# locations."/login" = { -# proxyPass = "http://10.10.11.1:80"; -# proxyWebsockets = true; -# }; -# }; + services.nginx = { + listen 80; + enable = true; + virtualHosts."bicospacetech.c3d2.de" = { + default = true; + forceSSL = true; + enableACME = true; + locations."/login" = { + proxyPass = "http://10.10.11.1:80"; + proxyWebsockets = true; + }; + }; #-----------------------------ngin-X-------------------------------- + + +#--------------------------Up-Stream-------------------------------- + + system.stateVersion = "22.05"; }