idek, random commit

This commit is contained in:
mtgmonkey
2025-12-11 19:40:50 +00:00
parent 6e30000ce5
commit 8e1895f1b1
6 changed files with 197 additions and 16 deletions

View File

@@ -41,6 +41,10 @@
domain = "translate.mtgmonkey.net";
proxyTo = "http://localhost:9109/";
}
{
domain = "mail.mtgmonkey.net";
proxyTo = "http://localhost:6942/";
}
];
};
in {

27
services/mailserver.nix Normal file
View File

@@ -0,0 +1,27 @@
{config, ...}: {
mailserver = {
enable = true;
stateVersion = 3;
fqdn = "mail.mtgmonkey.net";
domains = ["mtgmonkey.net"];
loginAccounts = {
"example@mtgmonkey.net" = {
hashedPasswordFile = "/home/mtgmonkey/secrets/example_passhash";
aliases = ["postmaster@mtgmonkey.net"];
};
};
certificateScheme = "manual";
};
services.roundcube = {
enable = true;
hostName = "localhost:6942";
extraConfig = ''
$config['smtp_server'] = tls://${config.mailserver.fqdn}";
$config['smtp_user'] = "%u";
$config['stmp_pass'] = "%p";
'';
};
}

View File

@@ -0,0 +1,8 @@
{
nixpkgs.config.allowUnfree = true;
services.minecraft-server = {
enable = true;
eula = true;
jvmOpts = "-Xms512M -Xmx1024M";
};
}