Compare commits
6 Commits
085fadf2d0
...
1210e716f3
Author | SHA1 | Date |
---|---|---|
stupidcomputer | 1210e716f3 | |
stupidcomputer | e781396a19 | |
stupidcomputer | 6cfbe5e003 | |
stupidcomputer | 0e5d3288f2 | |
stupidcomputer | 427885772a | |
stupidcomputer | b2256fdc19 |
|
@ -32,7 +32,6 @@
|
||||||
tree
|
tree
|
||||||
dig
|
dig
|
||||||
htop
|
htop
|
||||||
gnumake
|
|
||||||
neovim
|
neovim
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -147,8 +146,6 @@
|
||||||
ports = [55555];
|
ports = [55555];
|
||||||
};
|
};
|
||||||
|
|
||||||
services.endlessh.enable = true;
|
|
||||||
services.endlessh.port = 22;
|
|
||||||
services.vaultwarden.enable = true;
|
services.vaultwarden.enable = true;
|
||||||
services.vaultwarden.config = {
|
services.vaultwarden.config = {
|
||||||
DOMAIN = "https://bitwarden.beepboop.systems";
|
DOMAIN = "https://bitwarden.beepboop.systems";
|
||||||
|
@ -195,6 +192,12 @@
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
root = "/var/www/beepboop.systems";
|
root = "/var/www/beepboop.systems";
|
||||||
|
locations."/" = {
|
||||||
|
extraConfig = ''
|
||||||
|
port_in_redirect off;
|
||||||
|
absolute_redirect off;
|
||||||
|
'';
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."git.beepboop.systems" = {
|
services.nginx.virtualHosts."git.beepboop.systems" = {
|
||||||
|
@ -244,50 +247,9 @@
|
||||||
globalRedirect = "radicale.beepboop.systems";
|
globalRedirect = "radicale.beepboop.systems";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.nginx.virtualHosts."skillissue.agency" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
root = "/var/www/skillissue.agency";
|
|
||||||
};
|
|
||||||
|
|
||||||
security.acme = {
|
security.acme = {
|
||||||
acceptTerms = true;
|
acceptTerms = true;
|
||||||
email = "nickforanick@protonmail.com";
|
defaults.email = "nickforanick@protonmail.com";
|
||||||
};
|
|
||||||
|
|
||||||
# services.roundcube = {
|
|
||||||
# enable = true;
|
|
||||||
# # this is the url of the vhost, not necessarily the same as the fqdn of
|
|
||||||
# # the mailserver
|
|
||||||
# hostName = "cube.beepboop.systems";
|
|
||||||
# extraConfig = ''
|
|
||||||
# # starttls needed for authentication, so the fqdn required to match
|
|
||||||
# # the certificate
|
|
||||||
# $config['smtp_server'] = "tls://${config.mailserver.fqdn}";
|
|
||||||
# $config['smtp_user'] = "%u";
|
|
||||||
# $config['smtp_pass'] = "%p";
|
|
||||||
# '';
|
|
||||||
# };
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."roundcube.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
globalRedirect = "cube.beepboop.systems";
|
|
||||||
};
|
|
||||||
|
|
||||||
services.nginx.virtualHosts."mail.beepboop.systems" = {
|
|
||||||
forceSSL = true;
|
|
||||||
enableACME = true;
|
|
||||||
locations."/bridge-submit" = {
|
|
||||||
extraConfig = ''
|
|
||||||
proxy_pass http://localhost:8041;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
locations."/" = {
|
|
||||||
extraConfig = ''
|
|
||||||
return 301 https://cube.beepboop.systems;
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
networking.firewall = {
|
networking.firewall = {
|
||||||
|
|
Loading…
Reference in New Issue