diff options
author | Alan Pearce | 2022-06-11 15:59:49 +0200 |
---|---|---|
committer | Alan Pearce | 2022-06-11 15:59:49 +0200 |
commit | e578939110d38986e009affa98a946a8b81cad5c (patch) | |
tree | b192b554413c545e980c8b2ba8f680902ad97d4b /user/settings | |
parent | ba51456532c18f04a717fb4b0ea832bac9b9c009 (diff) | |
download | nixfiles-e578939110d38986e009affa98a946a8b81cad5c.tar.lz nixfiles-e578939110d38986e009affa98a946a8b81cad5c.tar.zst nixfiles-e578939110d38986e009affa98a946a8b81cad5c.zip |
music: update to use new xdg.desktopEntries setting
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/music.nix | 14 |
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"; + }; }; } |