about summary refs log tree commit diff
path: root/users/fcuny
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-02-10 08:49:52 -0800
committerFranck Cuny <franck@fcuny.net>2022-02-10 08:49:52 -0800
commit79ce0b577839892ac27300f53ccc11af8181cf46 (patch)
tree47c79a8208ee353ee1e1b74222e59284b51ffdcb /users/fcuny
parenthome-manager: mpd and ncmpcpp configuration (diff)
downloadworld-79ce0b577839892ac27300f53ccc11af8181cf46.tar.gz
home-manager: fix mpd config
Diffstat (limited to '')
-rw-r--r--users/fcuny/media.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/users/fcuny/media.nix b/users/fcuny/media.nix
index a2ae03c..57d0dd2 100644
--- a/users/fcuny/media.nix
+++ b/users/fcuny/media.nix
@@ -1,10 +1,15 @@
+{ config, lib, pkgs, ... }:
+
 {
   home.packages = [
-    mpd
-    mpc
-    ncmpcpp
-  ]
+    pkgs.mpd
+    pkgs.ncmpcpp
+  ];
 
   xdg.configFile."mpd/mpd.conf".source = ../../configs/mpd/mpd.conf;
   xdg.configFile."ncmpcpp/config".source = ../../configs/ncmpcpp/config;
+
+  services.mpd = {
+    enable = true;
+  };
 }