diff --git a/nixos/doc/manual/configuration/configuration.xml b/nixos/doc/manual/configuration/configuration.xml
index 2d5281829ed5..9589f3c6276f 100644
--- a/nixos/doc/manual/configuration/configuration.xml
+++ b/nixos/doc/manual/configuration/configuration.xml
@@ -23,7 +23,6 @@ effect after you run nixos-rebuild.
-
diff --git a/nixos/modules/security/grsecurity.nix b/nixos/modules/security/grsecurity.nix
index c6332ca9f9f6..ea1064c2d425 100644
--- a/nixos/modules/security/grsecurity.nix
+++ b/nixos/modules/security/grsecurity.nix
@@ -20,6 +20,11 @@ let
in
{
+ meta = {
+ maintainers = with maintainers; [ joachifm ];
+ doc = ./grsecurity.xml;
+ };
+
options.security.grsecurity = {
enable = mkEnableOption "grsecurity/PaX";
diff --git a/nixos/doc/manual/configuration/grsecurity.xml b/nixos/modules/security/grsecurity.xml
similarity index 100%
rename from nixos/doc/manual/configuration/grsecurity.xml
rename to nixos/modules/security/grsecurity.xml