stockholm/lass/2configs/snapclient.nix
2023-09-03 12:12:23 +02:00

13 lines
301 B
Nix

{ config, lib, pkgs, ... }:
{
systemd.services.snapclient = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.snapcast ];
script = "snapclient -h 10.42.0.1 --hostID ${config.networking.hostName}";
serviceConfig = {
DynamicUser = true;
Group = "pipewire";
};
};
}