From ee44844da8f54634b6b65805a6fe40bdef24875a Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 12 Jul 2025 14:13:22 +0300 Subject: [PATCH] mpd... Signed-off-by: Alex A. Naanou --- configuration.nix | 27 ++++++++++++++++----------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/configuration.nix b/configuration.nix index 070f2de..fcde292 100644 --- a/configuration.nix +++ b/configuration.nix @@ -194,21 +194,26 @@ # Enable CUPS to print documents. services.printing.enable = true; - # Enable sound with pipewire. - #sound.enable = true; - #hardware.pulseaudio.enable = false; + # Pipewire... services.pulseaudio.enable = false; services.pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; - # If you want to use JACK applications, uncomment this - #jack.enable = true; + jack.enable = true; + }; + services.mpd = { + enable = true; + # XXX + musicDirectory = "/home/f_lynx/Music"; + extraConfig = '' + ''; - # use the example session manager (no others are packaged yet so this is enabled by default, - # no need to redefine it in your config for now) - #media-session.enable = true; + # Allow non-localhost connections + #network.listenAddress = "any"; + # Systemd feature: only start MPD service upon connection to its socket + network.startWhenNeeded = true; }; services.colord.enable = true; @@ -304,7 +309,6 @@ }; }; - # Define a user account. Don't forget to set a password with ‘passwd’. users.users.f_lynx = { isNormalUser = true; @@ -417,7 +421,7 @@ # media... vlc mpv - cmus rmpc mpd mpc + cmus rmpc mpc yt-dlp media-downloader ffmpeg #ffmpegthumbnailer httrack @@ -517,7 +521,8 @@ # jdk - required by texlive-pax (BUG: no dependency??) temurin-jre-bin - #blender + blender + rawtherapee #krita gimp3-with-plugins