anchor.diff:  
         for f in $(ls /run/current-system/user/Library/LaunchAgents); do
           if test ! -e "${cfg.build.launchd}/user/Library/LaunchAgents/$f"; then
  +          echo "removing user service $(basename $f .plist)" >&2
             launchctl unload -w ~/Library/LaunchAgents/$f || true
             if test -e ~/Library/LaunchAgents/$f; then rm -f ~/Library/LaunchAgents/$f; fi
           fi
  
positive.code:   userLaunchdActivation = target: ''
      if ! diff ${cfg.build.launchd}/user/Library/LaunchAgents/${target} ~/Library/LaunchAgents/${target} &> /dev/null; then
        if test -f ~/Library/LaunchAgents/${target}; then
          launchctl unload -w ~/Library/LaunchAgents/${target} || true
        fi
        cp -f '${cfg.build.launchd}/user/Library/LaunchAgents/${target}' ~/Library/LaunchAgents/${target}
        launchctl load -w ~/Library/LaunchAgents/${target}
  
negative.code: 
        for f in $(ls /run/current-system/Library/LaunchDaemons); do
          if test ! -e "${cfg.build.launchd}/Library/LaunchDaemons/$f"; then
            echo "removing service $(basename $f .plist)" >&2
            launchctl unload -w "/Library/LaunchDaemons/$f" || true
            if test -e "/Library/LaunchDaemons/$f"; then rm -f "/Library/LaunchDaemons/$f"; fi
          fi
  