all repos — nixfiles @ c5266433b0890916ce5e16bb49ca4fdaaf33ee82

System and user configuration, managed by nix and home-manager

Extract music packages into separate file

Alan Pearce
commit

c5266433b0890916ce5e16bb49ca4fdaaf33ee82

parent

b1e82312a749261c869a4c7e16ba87c0b5cef6e4

1 file changed, 23 insertions(+), 0 deletions(-)

changed files
A 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 + ''; + }; +}