summaryrefslogtreecommitdiffstats
path: root/lass/2configs/snapclient.nix
blob: c20abdc3a84886ead46b7548876c68a963a526e9 (plain)
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 --hostID ${config.networking.hostName}";
    serviceConfig = {
      DynamicUser = true;
      Group = "pipewire";
    };
  };
}