anchor.diff:  { config, lib, pkgs, ... }:
   
   with lib;
  +
  +let
  +
  +  cfg = config.services.network-manager-applet;
  +
  +in
   
   {
     meta.maintainers = [ maintainers.rycee ];
  
positive.code:     };
    };
  
    config = mkIf config.services.network-manager-applet.enable {
      systemd.user.services.network-manager-applet = {
          Unit = {
            Description = "Network Manager applet";
  
negative.code:         };
  
          Service = {
            ExecStart = toString (
              [
                "${pkgs.networkmanagerapplet}/bin/nm-applet"
                "--sm-disable"
              ] ++ optional config.xsession.preferStatusNotifierItems "--indicator"
            );
          };
      };
    };
  