diff options
author | Alan Pearce | 2020-07-06 12:35:57 +0200 |
---|---|---|
committer | Alan Pearce | 2020-07-06 12:35:57 +0200 |
commit | c5266433b0890916ce5e16bb49ca4fdaaf33ee82 (patch) | |
tree | 2398929d20dccf58ab0bc47eca921c511fa38c4c /user/settings | |
parent | b1e82312a749261c869a4c7e16ba87c0b5cef6e4 (diff) | |
download | nixfiles-c5266433b0890916ce5e16bb49ca4fdaaf33ee82.tar.lz nixfiles-c5266433b0890916ce5e16bb49ca4fdaaf33ee82.tar.zst nixfiles-c5266433b0890916ce5e16bb49ca4fdaaf33ee82.zip |
Extract music packages into separate file
Diffstat (limited to 'user/settings')
-rw-r--r-- | user/settings/music.nix | 23 |
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 + ''; + }; +} |