add some server things
This commit is contained in:
parent
1d19db7c9e
commit
658701c197
|
@ -69,6 +69,12 @@
|
|||
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" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
|
@ -122,15 +128,15 @@
|
|||
'';
|
||||
};
|
||||
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
passwordFile = "/etc/paperless-password";
|
||||
port = 3004;
|
||||
address = "localhost";
|
||||
extraConfig = {
|
||||
PAPERLESS_URL = "https://paperless.beepboop.systems";
|
||||
};
|
||||
};
|
||||
# services.paperless = {
|
||||
# enable = true;
|
||||
# passwordFile = "/etc/paperless-password";
|
||||
# port = 3004;
|
||||
# address = "localhost";
|
||||
# extraConfig = {
|
||||
# PAPERLESS_URL = "https://paperless.beepboop.systems";
|
||||
# };
|
||||
# };
|
||||
|
||||
# services.ntfy-sh = {
|
||||
# enable = true;
|
||||
|
@ -143,5 +149,5 @@
|
|||
|
||||
# Open ports in the firewall.
|
||||
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"
|
||||
];
|
||||
};
|
||||
|
||||
"mailsynchronization@beepboop.systems" = {
|
||||
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt' > /hashed/password/file/location
|
||||
hashedPasswordFile = "/etc/ryan-beepboop-systemsuser-pass";
|
||||
};
|
||||
};
|
||||
certificateScheme = "acme-nginx";
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue