19 lines
381 B
Nix
19 lines
381 B
Nix
{ hostname, ... }:
|
|
{
|
|
home-manager.users.rafiq.services.spotifyd = {
|
|
enable = true;
|
|
settings = {
|
|
global = {
|
|
device_name = "${hostname}";
|
|
device_type = "computer";
|
|
zeroconf_port = 5353;
|
|
};
|
|
};
|
|
};
|
|
networking.firewall.allowedTCPPorts = [
|
|
5353 # spotifyd
|
|
];
|
|
networking.firewall.allowedUDPPorts = [
|
|
5353 # spotifyd
|
|
];
|
|
}
|