anchor.diff:  {
     options.programs.xwayland = {
   
  -    enable = mkEnableOption ''
  -      Xwayland X server allows running X programs on a Wayland compositor.
  -    '';
  +    enable = mkEnableOption "Xwayland (an X server for interfacing X11 apps with the Wayland protocol)";
   
       defaultFontPath = mkOption {
         type = types.str;
         default = optionalString config.fonts.fontDir.enable
           "/run/current-system/sw/share/X11/fonts";
  +      defaultText = literalExample ''
  +        optionalString config.fonts.fontDir.enable
  +          "/run/current-system/sw/share/X11/fonts";
  +      '';
         description = ''
           Default font path. Setting this option causes Xwayland to be rebuilt.
         '';
  
positive.code: 
      environment.systemPackages = [ cfg.package ];
  
      programs.xwayland.package = pkgs.xwayland.override (oldArgs: {
        inherit (cfg) defaultFontPath;
      });
  
    };
  }
  
negative.code: 
      package = mkOption {
        type = types.path;
        default = pkgs.xwayland.override (oldArgs: {
          inherit (cfg) defaultFontPath;
        });
        defaultText = literalExample ''
          pkgs.xwayland.override (oldArgs: {
            inherit (config.programs.xwayland) defaultFontPath;
          });
        '';
        description = "The Xwayland package to use.";
      };
  
    };
  