mirror of
https://github.com/genebean/dots.git
synced 2026-03-28 01:47:42 -04:00
Everything is migrated! Now to clean up...
This commit is contained in:
parent
3075248fc7
commit
3457194cdd
8 changed files with 168 additions and 145 deletions
|
|
@ -1,12 +1,45 @@
|
|||
{ config, username, ... }: {
|
||||
imports = [
|
||||
../../../../system/common/linux/lets-encrypt.nix
|
||||
../../../../system/common/linux/restic.nix
|
||||
./matrix-synapse.nix
|
||||
./nginx.nix
|
||||
];
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
enableImap = false;
|
||||
enableImapSsl = false;
|
||||
fqdn = "mail.alt.technicalissues.us";
|
||||
domains = [
|
||||
"alt.technicalissues.us"
|
||||
"indianspringsbsa.org"
|
||||
];
|
||||
forwards = {
|
||||
"webmaster@indianspringsbsa.org" = "gene+indianspringsbsa.org@geneliverman.com";
|
||||
"newsletter@indianspringsbsa.org" = "gene+indianspringsbsa.org@geneliverman.com";
|
||||
"@alt.technicalissues.us" = "gene+alt.technicalissues.us@geneliverman.com";
|
||||
};
|
||||
|
||||
# Use Let's Encrypt certificates from Nginx
|
||||
certificateScheme = "acme";
|
||||
};
|
||||
|
||||
# Cert for the mail server
|
||||
security.acme.certs."alt.technicalissues.us" = {
|
||||
extraDomainNames = [
|
||||
"mail.alt.technicalissues.us"
|
||||
"mail.indianspringsbsa.org"
|
||||
];
|
||||
reloadServices = [
|
||||
"postfix.service"
|
||||
];
|
||||
};
|
||||
|
||||
services = {
|
||||
restic.backups.daily.paths = [
|
||||
"${config.users.users.${username}.home}/compose-files/owntracks"
|
||||
"/var/backup/postgresql"
|
||||
"/var/lib/uptime-kuma"
|
||||
];
|
||||
tailscale = {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
{ config, pkgs, ... }: let
|
||||
#
|
||||
in {
|
||||
{ config, ... }: {
|
||||
services.matrix-synapse = {
|
||||
enable = true;
|
||||
configureRedisLocally = true;
|
||||
|
|
|
|||
|
|
@ -1,12 +1,8 @@
|
|||
{ config, ... }: let
|
||||
domain = "technicalissues.us";
|
||||
http_port = 80;
|
||||
https_port = 443;
|
||||
in {
|
||||
|
||||
imports = [
|
||||
../../../../system/common/linux/lets-encrypt.nix
|
||||
];
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
recommendedBrotliSettings = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue