Initial commit
This commit is contained in:
commit
430194beda
109 changed files with 9066 additions and 0 deletions
27
hosts/cryodev-main/services/mailserver.nix
Normal file
27
hosts/cryodev-main/services/mailserver.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
config,
|
||||
pkgs,
|
||||
outputs,
|
||||
constants,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
outputs.nixosModules.mailserver
|
||||
];
|
||||
|
||||
mailserver = {
|
||||
enable = true;
|
||||
fqdn = constants.services.mail.fqdn;
|
||||
domains = [ constants.domain ];
|
||||
accounts = {
|
||||
forgejo = { };
|
||||
admin = {
|
||||
aliases = [ "postmaster" ];
|
||||
};
|
||||
};
|
||||
certificateScheme = "acme-nginx";
|
||||
sops = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue