From 10cccc77062965e5a961995dcab95e14123936aa Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 29 May 2025 08:48:56 +0200 Subject: [PATCH 1/2] docs: fix code block syntax in migration init --- docs/migrations.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrations.rst b/docs/migrations.rst index bd52196..101c7d5 100644 --- a/docs/migrations.rst +++ b/docs/migrations.rst @@ -16,7 +16,7 @@ NixOS 25.11 This option was introduced in the NixOS 25.11 release cycle, in which case you can safely initialize its value at `1`. -:: code-block: nix +.. code-block:: nix mailserver.stateVersion = 1; From 11bfdbf136df4a08eba20ee1ffc8176d865844d3 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 29 May 2025 08:49:37 +0200 Subject: [PATCH 2/2] tests: drop dhparam default length configuration This has been the default value since the option was introduced back in 2018[0]. [0] https://github.com/NixOS/nixpkgs/commit/81fc2c35097f81ecb29a576148486cc1ce5a5bcc --- tests/lib/config.nix | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/lib/config.nix b/tests/lib/config.nix index 09ae517..fe66875 100644 --- a/tests/lib/config.nix +++ b/tests/lib/config.nix @@ -1,7 +1,4 @@ { # Testing eval failures that result from stateVersion assertion is out of scope mailserver.stateVersion = 999; - - # minimum size required by dovecot - security.dhparams.defaultBitSize = 2048; }