diff options
Diffstat (limited to 'user')
-rw-r--r-- | user/prefect.nix | 1 | ||||
-rw-r--r-- | user/satoshipad.nix | 1 | ||||
-rw-r--r-- | user/settings/music.nix | 23 |
3 files changed, 25 insertions, 0 deletions
diff --git a/user/prefect.nix b/user/prefect.nix index c4f6ea0d..382cc751 100644 --- a/user/prefect.nix +++ b/user/prefect.nix @@ -14,6 +14,7 @@ ./settings/i3.nix ./settings/javascript.nix ./settings/mail.nix + ./settings/music.nix ./settings/nixos.nix ./settings/rofi.nix ./settings/passwords.nix diff --git a/user/satoshipad.nix b/user/satoshipad.nix index e2a513d5..f86e049f 100644 --- a/user/satoshipad.nix +++ b/user/satoshipad.nix @@ -14,6 +14,7 @@ ./settings/i3.nix ./settings/javascript.nix ./settings/mail.nix + ./settings/music.nix ./settings/nixos.nix ./settings/rofi.nix ./settings/passwords.nix 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 + ''; + }; +} |