stockholm/lass/2configs/snapclient.nix

13 lines
301 B
Nix
Raw Normal View History

2022-09-18 10:17:18 +00:00
{ config, lib, pkgs, ... }:
{
systemd.services.snapclient = {
wantedBy = [ "multi-user.target" ];
path = [ pkgs.snapcast ];
2023-09-03 10:12:23 +00:00
script = "snapclient -h 10.42.0.1 --hostID ${config.networking.hostName}";
2022-09-18 10:17:18 +00:00
serviceConfig = {
DynamicUser = true;
Group = "pipewire";
};
};
}