1 2 3 4 5 6 7 8 9 10 11 12
{ config, lib, pkgs, ... }: { systemd.services.snapclient = { wantedBy = [ "multi-user.target" ]; path = [ pkgs.snapcast ]; script = "snapclient -h 10.42.0.1"; serviceConfig = { DynamicUser = true; Group = "pipewire"; }; }; }