aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatasha Moongrave <natasha@256phi.eu>2026-05-24 14:00:37 +0200
committerNatasha Moongrave <natasha@256phi.eu>2026-05-24 14:00:37 +0200
commita74f2cdf080cb5fc4c0f0a7a14d3ccc8c2a96a35 (patch)
tree4856c30afc6242ebfc44b25266a97e5f7459a5a5
parent13b246e4debe71b9dddbc69395a90e527a1e68c8 (diff)
Moved the mpd config to system services
-rw-r--r--home/mun/programs/rmpc.nix12
-rw-r--r--system/services.nix11
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"
+ }
+ '';
+ };
};
}