summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2022-06-11 15:59:49 +0200
committerAlan Pearce2022-06-11 15:59:49 +0200
commite578939110d38986e009affa98a946a8b81cad5c (patch)
treeb192b554413c545e980c8b2ba8f680902ad97d4b /user
parentba51456532c18f04a717fb4b0ea832bac9b9c009 (diff)
downloadnixfiles-e578939110d38986e009affa98a946a8b81cad5c.tar.lz
nixfiles-e578939110d38986e009affa98a946a8b81cad5c.tar.zst
nixfiles-e578939110d38986e009affa98a946a8b81cad5c.zip
music: update to use new xdg.desktopEntries setting
Diffstat (limited to 'user')
-rw-r--r--user/settings/music.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/user/settings/music.nix b/user/settings/music.nix
index dd292c5d..a9ce6d79 100644
--- a/user/settings/music.nix
+++ b/user/settings/music.nix
@@ -6,18 +6,16 @@
     playerctl
   ];
 
-  xdg.dataFile."applications/cmus".source = pkgs.makeDesktopItem {
+  xdg.desktopEntries.cmus = {
     name = "cmus";
     exec = "cmus";
     comment = "C* Music Player";
-    desktopName = "cmus";
-    categories = "Application;Audio;AudioVideo;";
+		categories = [ "Audio" "AudioVideo" ];
     genericName = "Music Player";
-    terminal = "true";
+    terminal = true;
 
-    # FIXME
-    extraEntries = ''
-      Path = /data/Home/Music/Beets
-    '';
+    settings = {
+		  Path = "/mnt/data/Home/Music/Beets";
+    };
   };
 }