l snapclient: use hostname as id

This commit is contained in:
lassulus 2023-09-03 12:12:23 +02:00
parent 3e9f8a0cf0
commit bb29da9207

View File

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