diff --git a/modules/services/x11/xfs.nix b/modules/services/x11/xfs.nix index 9cc5c25ec0f2..07f5bac7a9af 100644 --- a/modules/services/x11/xfs.nix +++ b/modules/services/x11/xfs.nix @@ -30,7 +30,7 @@ in mkIf config.services.xfs.enable { - assertions = [ { assertion = ! config.fonts.enableFontDir; message = "Please enable fontDir (fonts.enableFontDir) to use xfs."; } ]; + assertions = [ { assertion = config.fonts.enableFontDir; message = "Please enable fontDir (fonts.enableFontDir) to use xfs."; } ]; require = [ options