open 53 67 ports

This commit is contained in:
Leon Vita 2022-09-29 03:21:30 +01:00
parent 759ca2fae3
commit 6ab42a969b
1 changed files with 3 additions and 6 deletions

View File

@ -3,9 +3,7 @@
{
microvm = {
mem = 4024;
writableStoreOverlay = "/nix/.rw-store";
volumes = [ {
image = "/dev/zvol/tank/storage/leoncloud/nix-store-overlay";
mountPoint = config.microvm.writableStoreOverlay;
@ -30,9 +28,8 @@
enable = true;
wheelNeedsPassword = false;
};
c3d2.hq.statistics.enable = true;
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
@ -51,7 +48,7 @@
networking.firewall = {
allowedTCPPorts = [ 80 443 22 53 14000 14500 15000 ];
allowedUDPPorts = [ 18900 ];
allowedUDPPorts = [ 18900 53 67 ];
};
#------------------DOCKER----------------------------
@ -82,7 +79,7 @@
#------------------next-cloud---------------------
services.nextcloud = {
enable = true;
hostName = "next-cloud";
hostName = "cloud";
config = {
dbtype = "pgsql";
dbuser = "nextcloud";