profiles/gui: MPD ports

This commit is contained in:
kat witch 2021-05-06 16:49:14 +01:00
parent f95acee54d
commit 31962ff51e
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72
4 changed files with 12 additions and 8 deletions

View file

@ -8,6 +8,7 @@
./firefox.nix
./dns.nix
./nfs.nix
./mpd.nix
./nixpkgs.nix
./mingetty.nix
./sound.nix

View file

@ -0,0 +1,7 @@
{ config, lib, ... }:
with lib;
{
katnet.private.tcp.ports = [ 6600 32101 ];
}

View file

@ -1,7 +0,0 @@
{ config, lib, ... }:
with lib;
{
katnet.private.tcp.ports = singleton 32101;
}

View file

@ -4,7 +4,10 @@
services.mpd = {
enable = true;
package = pkgs.mpd-youtube-dl;
network.startWhenNeeded = true;
network = {
startWhenNeeded = true;
listenAddress = "::";
};
musicDirectory = "/home/kat/media-share/music";
extraConfig = ''
max_output_buffer_size "32768"