From 13b246e4debe71b9dddbc69395a90e527a1e68c8 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 24 May 2026 13:57:51 +0200 Subject: Added an rmpc configuration --- home/mun/programs/rmpc.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 home/mun/programs/rmpc.nix (limited to 'home/mun/programs/rmpc.nix') diff --git a/home/mun/programs/rmpc.nix b/home/mun/programs/rmpc.nix new file mode 100644 index 0000000..12414a6 --- /dev/null +++ b/home/mun/programs/rmpc.nix @@ -0,0 +1,25 @@ +{pkgs, ...}: { + # Setup MPD as the backend of RMPC + services.mpd = { + enable = true; + user = "mun"; + musicDirectory = "/home/mun//Music"; + extraConfig = '' + audio_output { + type "pipewire" + name "PipeWire" + } + ''; + }; + # Install rmpc from unstable nix + home.packages = with pkgs.unstable; + [ + rmpc + ] # Add cava and libnotify as a stable package for config dependencies + ++ (with pkgs; [ + cava + libnotify + ]); + # Write the rmpc config + xdg.configFile."rmpc/config.ron".source = ./rmpc/config.ron; +} -- cgit v1.2.3