aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"
+ }
+ '';
+ };
};
}