diff --git a/modules/services/xsuspender.nix b/modules/services/xsuspender.nix
index 54f13c8d5..058f15471 100644
--- a/modules/services/xsuspender.nix
+++ b/modules/services/xsuspender.nix
@@ -191,7 +191,7 @@ in {
 
       Service = {
         ExecStart = "${pkgs.xsuspender}/bin/xsuspender";
-        Environment = mkIf cfg.debug [ "G_MESSAGE_DEBUG=all" ];
+        Environment = mkIf cfg.debug [ "G_MESSAGES_DEBUG=all" ];
       };
 
       Install = { WantedBy = [ "graphical-session.target" ]; };