feat(amzebs-01): update to 25.11
This commit is contained in:
parent
1b27bafd41
commit
840f99a7e9
3 changed files with 8 additions and 6 deletions
1
hosts/amzebs-01/channel
Normal file
1
hosts/amzebs-01/channel
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
https://channels.nixos.org/nixos-25.11
|
||||||
|
|
@ -3,6 +3,7 @@
|
||||||
./utils/bento.nix
|
./utils/bento.nix
|
||||||
./utils/modules/sops.nix
|
./utils/modules/sops.nix
|
||||||
./utils/modules/nginx.nix
|
./utils/modules/nginx.nix
|
||||||
|
./utils/modules/set-nix-channel.nix
|
||||||
|
|
||||||
./modules/mysql.nix
|
./modules/mysql.nix
|
||||||
./modules/web/stack.nix
|
./modules/web/stack.nix
|
||||||
|
|
@ -76,5 +77,5 @@
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "25.11";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -35,11 +35,11 @@ in
|
||||||
compatibility_level = "2";
|
compatibility_level = "2";
|
||||||
|
|
||||||
# Only accept mail from localhost
|
# Only accept mail from localhost
|
||||||
mynetworks = "127.0.0.0/8 [::1]/128";
|
mynetworks = [ "127.0.0.0/8" "[::1]/128" ];
|
||||||
|
|
||||||
# Larger message size limits for attachments
|
# Larger message size limits for attachments
|
||||||
mailbox_size_limit = "202400000"; # ~200MB
|
mailbox_size_limit = 202400000; # ~200MB
|
||||||
message_size_limit = "51200000"; # ~50MB
|
message_size_limit = 51200000; # ~50MB
|
||||||
|
|
||||||
# Ensure proper header handling
|
# Ensure proper header handling
|
||||||
# Reject mail that's missing critical headers
|
# Reject mail that's missing critical headers
|
||||||
|
|
@ -47,8 +47,8 @@ in
|
||||||
|
|
||||||
# Rate limiting to prevent spam-like behavior
|
# Rate limiting to prevent spam-like behavior
|
||||||
# Allow reasonable sending rates for applications
|
# Allow reasonable sending rates for applications
|
||||||
smtpd_client_message_rate_limit = "100";
|
smtpd_client_message_rate_limit = 100;
|
||||||
smtpd_client_recipient_rate_limit = "200";
|
smtpd_client_recipient_rate_limit = 200;
|
||||||
|
|
||||||
# Milter configuration is handled automatically by rspamd.postfix.enable
|
# Milter configuration is handled automatically by rspamd.postfix.enable
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue