{ config, pkgs, lib, ... }: let plistPath = "${config.out}/user/Library/LaunchAgents/org.nixos.lorri.plist"; expectedPath = "${lib.makeBinPath [ config.nix.package pkgs.git pkgs.gnutar pkgs.gzip ]}"; expectedNixPath = "${"nixpkgs=" + toString pkgs.path}"; in { services.lorri.enable = true; test = '' PATH=${ lib.makeBinPath [ pkgs.xcbuild pkgs.jq ] }:$PATH plutil -lint ${plistPath} plutil -convert json -o service.json ${plistPath}