From a74f2cdf080cb5fc4c0f0a7a14d3ccc8c2a96a35 Mon Sep 17 00:00:00 2001 From: Natasha Moongrave Date: Sun, 24 May 2026 14:00:37 +0200 Subject: Moved the mpd config to system services --- home/mun/programs/rmpc.nix | 12 ------------ system/services.nix | 11 +++++++++++ 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/home/mun/programs/rmpc.nix b/home/mun/programs/rmpc.nix index 12414a6..da9d385 100644 --- a/home/mun/programs/rmpc.nix +++ b/home/mun/programs/rmpc.nix @@ -1,16 +1,4 @@ {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; [ diff --git a/system/services.nix b/system/services.nix index 131b279..383eda9 100644 --- a/system/services.nix +++ b/system/services.nix @@ -13,5 +13,16 @@ gnome-keyring.enable = true; gcr-ssh-agent.enable = false; }; + # Setup MPD as the backend of RMPC + mpd = { + enable = true; + musicDirectory = "~/Music"; + extraConfig = '' + audio_output { + type "pipewire" + name "PipeWire" + } + ''; + }; }; } -- cgit v1.2.3