summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/music.nix23
1 files changed, 23 insertions, 0 deletions
diff --git a/user/settings/music.nix b/user/settings/music.nix
new file mode 100644
index 00000000..dd292c5d
--- /dev/null
+++ b/user/settings/music.nix
@@ -0,0 +1,23 @@
+{ config, pkgs, ... }:
+
+{
+  home.packages = with pkgs; [
+    cmus
+    playerctl
+  ];
+
+  xdg.dataFile."applications/cmus".source = pkgs.makeDesktopItem {
+    name = "cmus";
+    exec = "cmus";
+    comment = "C* Music Player";
+    desktopName = "cmus";
+    categories = "Application;Audio;AudioVideo;";
+    genericName = "Music Player";
+    terminal = "true";
+
+    # FIXME
+    extraEntries = ''
+      Path = /data/Home/Music/Beets
+    '';
+  };
+}