add some server things
This commit is contained in:
parent
1d19db7c9e
commit
658701c197
|
@ -69,6 +69,12 @@
|
||||||
root = "/var/www/beepboop.systems";
|
root = "/var/www/beepboop.systems";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.nginx.virtualHosts."cloud.beepboop.systems" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
locations."/".proxyPass = "http://localhost:4000";
|
||||||
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."git.beepboop.systems" = {
|
services.nginx.virtualHosts."git.beepboop.systems" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -122,15 +128,15 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.paperless = {
|
# services.paperless = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
passwordFile = "/etc/paperless-password";
|
# passwordFile = "/etc/paperless-password";
|
||||||
port = 3004;
|
# port = 3004;
|
||||||
address = "localhost";
|
# address = "localhost";
|
||||||
extraConfig = {
|
# extraConfig = {
|
||||||
PAPERLESS_URL = "https://paperless.beepboop.systems";
|
# PAPERLESS_URL = "https://paperless.beepboop.systems";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# services.ntfy-sh = {
|
# services.ntfy-sh = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
|
@ -143,5 +149,5 @@
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
networking.firewall.enable = false;
|
networking.firewall.enable = false;
|
||||||
networking.firewall.allowedTCPPorts = [ 55555 80 443 ];
|
networking.firewall.allowedTCPPorts = [ 5232 55555 80 443 ];
|
||||||
}
|
}
|
||||||
|
|
|
@ -30,6 +30,11 @@ in {
|
||||||
"postmaster@beepboop.systems"
|
"postmaster@beepboop.systems"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"mailsynchronization@beepboop.systems" = {
|
||||||
|
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' > /hashed/password/file/location
|
||||||
|
hashedPasswordFile = "/etc/ryan-beepboop-systemsuser-pass";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
certificateScheme = "acme-nginx";
|
certificateScheme = "acme-nginx";
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue