some marisa changes
changed marisa services (consul and vault)
This commit is contained in:
		@@ -11,7 +11,6 @@
 | 
			
		||||
            80 81
 | 
			
		||||
            443 444
 | 
			
		||||
            993 465 143 25 
 | 
			
		||||
            22001
 | 
			
		||||
          ];
 | 
			
		||||
          allowedUDPPorts = [ 17840 ];
 | 
			
		||||
        };
 | 
			
		||||
 
 | 
			
		||||
@@ -1,14 +1,13 @@
 | 
			
		||||
{config, pkgs, ...}:
 | 
			
		||||
{
 | 
			
		||||
  services = {
 | 
			
		||||
    openssh = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
    openssh = { enable = true;
 | 
			
		||||
      permitRootLogin = "yes";
 | 
			
		||||
    };
 | 
			
		||||
    nginx = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      package = (pkgs.nginx.overrideAttrs(oa: {
 | 
			
		||||
        configureFlags = oa.configureFlags ++ [ "--with-mail" "--with-mail_ssl_module" "--with-stream" ];
 | 
			
		||||
        configureFlags = oa.configureFlags ++ [ "--with-mail" "--with-mail_ssl_module" ];
 | 
			
		||||
      }));
 | 
			
		||||
      virtualHosts = {
 | 
			
		||||
        "weirdnatto.in" = {
 | 
			
		||||
@@ -28,16 +27,6 @@
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
      };
 | 
			
		||||
      streamConfig = ''
 | 
			
		||||
      upstream gitea {
 | 
			
		||||
        server 10.55.0.2:22;
 | 
			
		||||
      }
 | 
			
		||||
 | 
			
		||||
      server {
 | 
			
		||||
        listen 22001;
 | 
			
		||||
        proxy_pass gitea;
 | 
			
		||||
      }
 | 
			
		||||
      '';
 | 
			
		||||
    };
 | 
			
		||||
    vault-agent = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user