diff options
-rw-r--r-- | configs/mpd/mpd.conf | 24 | ||||
-rw-r--r-- | configs/ncmpcpp/config | 19 | ||||
-rw-r--r-- | users/fcuny/desktop.nix | 1 | ||||
-rw-r--r-- | users/fcuny/media.nix | 10 |
4 files changed, 54 insertions, 0 deletions
diff --git a/configs/mpd/mpd.conf b/configs/mpd/mpd.conf new file mode 100644 index 0000000..c7e9b3b --- /dev/null +++ b/configs/mpd/mpd.conf @@ -0,0 +1,24 @@ +playlist_directory "~/.config/mpd/playlists" +db_file "~/.config/mpd/database" +sticker_file "~/.config/mpd/sticker.sql" +music_directory "~/media/music" + +auto_update "yes" + +filesystem_charset "UTF-8" + +input { + plugin "curl" +} + +audio_output { + type "pipewire" + name "PipeWire Sound Server" +} + +audio_output { + type "fifo" + name "visualizer" + path "/tmp/mpd.fifo" + format "44100:16:2" +} diff --git a/configs/ncmpcpp/config b/configs/ncmpcpp/config new file mode 100644 index 0000000..45814c4 --- /dev/null +++ b/configs/ncmpcpp/config @@ -0,0 +1,19 @@ +mpd_music_dir = /home/fcuny/media/music +mpd_connection_timeout = 5 + +media_library_primary_tag = "album_artist" + +allow_for_physical_item_deletion = no +ask_before_clearing_playlists = yes +default_place_to_search_in = database +user_interface = classic +search_engine_display_mode = classic + +browser_display_mode = columns +browser_sort_mode = name +cyclic_scrolling = no +display_volume_level = no +header_text_scrolling = no +header_visibility = no +statusbar_visibility = no +titles_visibility = no diff --git a/users/fcuny/desktop.nix b/users/fcuny/desktop.nix index 46dd058..d52d596 100644 --- a/users/fcuny/desktop.nix +++ b/users/fcuny/desktop.nix @@ -52,6 +52,7 @@ imports = [ ./common.nix ./i3.nix + ./media.nix ./terminal.nix ]; } diff --git a/users/fcuny/media.nix b/users/fcuny/media.nix new file mode 100644 index 0000000..a2ae03c --- /dev/null +++ b/users/fcuny/media.nix @@ -0,0 +1,10 @@ +{ + home.packages = [ + mpd + mpc + ncmpcpp + ] + + xdg.configFile."mpd/mpd.conf".source = ../../configs/mpd/mpd.conf; + xdg.configFile."ncmpcpp/config".source = ../../configs/ncmpcpp/config; +} |