summary refs log tree commit diff stats
path: root/user/settings/music.nix
blob: dd292c5d5a80acda920b680b3f96fc85547bd159 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
    '';
  };
}