feat: upload for wifey

This commit is contained in:
Kat Inskip 2025-12-04 01:56:29 -08:00
parent 8585f1749f
commit cf9ec64e69
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
20 changed files with 1238 additions and 771 deletions

View file

@ -1,2 +1,31 @@
_: {
{config, ...}: {
sops.secrets.kat-password = {
sopsFile = ./secrets.yaml;
};
mailserver = {
enable = true;
stateVersion = 3;
fqdn = "rinnosuke.inskip.me";
domains = ["dork.dev"];
# A list of all login accounts. To create the password hashes, use
# nix-shell -p mkpasswd --run 'mkpasswd -sm bcrypt'
loginAccounts = {
"kat@dork.dev" = {
hashedPasswordFile = config.sops.secrets.kat-password.path;
aliases = [
"@dork.dev"
];
catchAll = [
"dork.dev"
];
};
};
# Use Let's Encrypt certificates. Note that this needs to set up a stripped
# down nginx and opens port 80.
certificateScheme = "acme-nginx";
};
security.acme.acceptTerms = true;
security.acme.defaults.email = "security@inskip.me";
}