music: update to use new xdg.desktopEntries setting
Alan Pearce alan@alanpearce.eu
Sat, 11 Jun 2022 15:59:49 +0200
1 files changed, 6 insertions(+), 8 deletions(-)
jump to
M user/settings/music.nix → user/settings/music.nix
@@ -6,18 +6,16 @@ cmus 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"; + }; }; }