mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 12:29:19 -08:00
feat: upload for wifey
This commit is contained in:
parent
8585f1749f
commit
cf9ec64e69
20 changed files with 1238 additions and 771 deletions
|
|
@ -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";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue