This commit is contained in:
Leon Vita 2022-11-20 14:02:40 +00:00
parent 6715589da7
commit 0401cdd6db
1 changed files with 22 additions and 14 deletions

View File

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