nix/nixos/services/mpd.nix
2024-02-17 17:07:58 +00:00

7 lines
177 B
Nix

{config, ...}: {
services.mpd = {
enable = true;
network.listenAddress = "0.0.0.0";
};
networking.firewall.allowedTCPPorts = [config.services.mpd.network.port];
}