From 187aef8c51ee621cb651ed2413ab8ed8182d927c Mon Sep 17 00:00:00 2001 From: Sakooooo <78461130+Sakooooo@users.noreply.github.com> Date: Fri, 2 Aug 2024 19:24:19 +0400 Subject: [PATCH] bundle mpc with mpd module --- modules/media/mpd/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/media/mpd/default.nix b/modules/media/mpd/default.nix index 1693d27a..87ad83a8 100644 --- a/modules/media/mpd/default.nix +++ b/modules/media/mpd/default.nix @@ -15,6 +15,11 @@ in extraConfig = builtins.readFile ../../../config/mpd/mpd.conf; startWhenNeeded = true; }; + + users.users.sako.packages = with pkgs; [ + mpc-cli + ]; + systemd.services.mpd.environment = { XDG_RUNTIME_DIR = "/run/user/1000"; };