mirror of
https://github.com/gensokyo-zone/infrastructure.git
synced 2026-02-09 20:39:18 -08:00
profiles/gui: MPD ports
This commit is contained in:
parent
f95acee54d
commit
31962ff51e
4 changed files with 12 additions and 8 deletions
|
|
@ -8,6 +8,7 @@
|
|||
./firefox.nix
|
||||
./dns.nix
|
||||
./nfs.nix
|
||||
./mpd.nix
|
||||
./nixpkgs.nix
|
||||
./mingetty.nix
|
||||
./sound.nix
|
||||
|
|
|
|||
7
profiles/gui/nixos/mpd.nix
Normal file
7
profiles/gui/nixos/mpd.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
katnet.private.tcp.ports = [ 6600 32101 ];
|
||||
}
|
||||
|
|
@ -1,7 +0,0 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
katnet.private.tcp.ports = singleton 32101;
|
||||
}
|
||||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue