Compare commits
2 Commits
57cd79eb55
...
32bba7ff9a
Author | SHA1 | Date |
---|---|---|
stupidcomputer | 32bba7ff9a | |
stupidcomputer | 7ab1a08b43 |
|
@ -31,6 +31,14 @@
|
||||||
ports = [55555];
|
ports = [55555];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
services.endlessh.enable = true;
|
||||||
|
services.endlessh.port = 22;
|
||||||
|
services.vaultwarden.enable = true;
|
||||||
|
services.vaultwarden.config = {
|
||||||
|
DOMAIN = "https://bitwarden.beepboop.systems";
|
||||||
|
SIGNUPS_ALLOWED = false;
|
||||||
|
};
|
||||||
|
|
||||||
networking.usePredictableInterfaceNames = false;
|
networking.usePredictableInterfaceNames = false;
|
||||||
|
|
||||||
services.nixosmail.enable = true;
|
services.nixosmail.enable = true;
|
||||||
|
@ -69,12 +77,6 @@
|
||||||
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;
|
||||||
|
@ -111,7 +113,7 @@
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
defaults.email = "nickforanick@protonmail.com";
|
email = "nickforanick@protonmail.com";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.roundcube = {
|
services.roundcube = {
|
||||||
|
@ -128,9 +130,18 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
services.vaultwarden.enable = true;
|
networking.firewall = {
|
||||||
|
enable = true;
|
||||||
|
allowedTCPPorts = [ 5232 55555 22 80 443 ];
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# services.paperless = {
|
||||||
networking.firewall.enable = false;
|
# enable = true;
|
||||||
networking.firewall.allowedTCPPorts = [ 5232 55555 80 443 ];
|
# passwordFile = "/etc/paperless-password";
|
||||||
|
# port = 3004;
|
||||||
|
# address = "localhost";
|
||||||
|
# extraConfig = {
|
||||||
|
# PAPERLESS_URL = "https://paperless.beepboop.systems";
|
||||||
|
# };
|
||||||
|
# };
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue