some marisa changes

changed marisa services (consul and vault)
This commit is contained in:
2022-01-20 23:11:35 +05:30
parent 3692fea7f1
commit 436a6dfa34
7 changed files with 118 additions and 78 deletions

View File

@@ -11,7 +11,6 @@
80 81
443 444
993 465 143 25
22001
];
allowedUDPPorts = [ 17840 ];
};

View File

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