diff options
-rw-r--r-- | system/settings/user-interface.nix | 3 | ||||
-rw-r--r-- | user/prefect.nix | 1 | ||||
-rw-r--r-- | user/satoshipad.nix | 1 | ||||
-rw-r--r-- | user/settings/music.nix | 23 |
4 files changed, 25 insertions, 3 deletions
diff --git a/system/settings/user-interface.nix b/system/settings/user-interface.nix index 17c01997..a83b6e73 100644 --- a/system/settings/user-interface.nix +++ b/system/settings/user-interface.nix @@ -12,9 +12,6 @@ epdfview geeqie - cmus - playerctl - fish # for emacs-fish-completion lxappearance 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 + ''; + }; +} |