open 53 67 ports #70

Merged
astro merged 2 commits from :vps-leon into master 2022-09-29 20:55:12 +02:00
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 ];
};
#------------------DOCKER----------------------------
@ -82,7 +79,7 @@
#------------------next-cloud---------------------
services.nextcloud = {
enable = true;
hostName = "next-cloud";
hostName = "cloud";
config = {
dbtype = "pgsql";
dbuser = "nextcloud";