anchor.diff:          wantedBy = [ "multi-user.target" ];
           serviceConfig = {
             User = cfg.user;
  +          Group = cfg.group;
             ExecStart = "${pkgs.shairport-sync}/bin/shairport-sync ${cfg.arguments}";
             RuntimeDirectory = "shairport-sync";
           };
  
positive.code:         '';
        };
  
      };
  
    };
  
negative.code:     services.avahi.publish.enable = true;
      services.avahi.publish.userServices = true;
  
      users = {
        users.${cfg.user} = {
          description = "Shairport user";
          isSystemUser = true;
          createHome = true;
          home = "/var/lib/shairport-sync";
          group = cfg.group;
          extraGroups = [ "audio" ] ++ optional config.hardware.pulseaudio.enable "pulse";
        };
        groups.${cfg.group} = {};
      };
  
      networking.firewall = mkIf cfg.openFirewall {
        allowedTCPPorts = [ 5000 ];
  