Small mailserver changes

This commit is contained in:
Jimbo 2025-03-03 02:14:06 -05:00
parent e8b4001340
commit 4a18eccddd
2 changed files with 5 additions and 2 deletions

View file

@ -3,7 +3,7 @@
options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver"; options.system.mailserver.enable = lib.mkEnableOption "Enable Simple NixOS Mailserver";
imports = [ imports = [
./simplenix
./roundcube ./roundcube
./simplenix
]; ];
} }

View file

@ -1,4 +1,4 @@
{ mailserver, config, pkgs, ... }: { config, pkgs, mailserver, ... }:
{ {
imports = [ imports = [
./nginx ./nginx
@ -24,6 +24,7 @@
hashedPasswordFile = pkgs.writeText "noreply" config.secrets.noreplyMailHash; hashedPasswordFile = pkgs.writeText "noreply" config.secrets.noreplyMailHash;
sendOnly = true; sendOnly = true;
}; };
"jimbo@nixfox.ca" = { "jimbo@nixfox.ca" = {
hashedPasswordFile = pkgs.writeText "jimbo" config.secrets.jimboMailHash; hashedPasswordFile = pkgs.writeText "jimbo" config.secrets.jimboMailHash;
aliases = [ aliases = [
@ -37,6 +38,7 @@
"contact@nixfox.ca" "contact@nixfox.ca"
]; ];
}; };
"luna@lunamoonlight.xyz" = { "luna@lunamoonlight.xyz" = {
hashedPasswordFile = pkgs.writeText "luna" config.secrets.lunaMailHash; hashedPasswordFile = pkgs.writeText "luna" config.secrets.lunaMailHash;
aliases = [ aliases = [
@ -45,6 +47,7 @@
"ibu@bloxelcom.net" "ibu@bloxelcom.net"
]; ];
}; };
"contact@freecorn1854.win" = { "contact@freecorn1854.win" = {
hashedPasswordFile = pkgs.writeText "corn" config.secrets.cornMailHash; hashedPasswordFile = pkgs.writeText "corn" config.secrets.cornMailHash;
aliases = [ "freecorn@bloxelcom.net" ]; aliases = [ "freecorn@bloxelcom.net" ];