diff options
| -rw-r--r-- | profiles/core/home.nix | 1 | ||||
| -rw-r--r-- | profiles/station/music.nix | 7 |
2 files changed, 8 insertions, 0 deletions
diff --git a/profiles/core/home.nix b/profiles/core/home.nix index 4010aff..8f137cc 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -191,6 +191,7 @@ } export ZLE_REMOVE_SUFFIX_CHARS=$' \t\n;&|/@' + export MANPAGER='nvim +Man!' export EDITOR="nvim" export TERMINAL="st" ( command -v brew ) &>/dev/null && eval "$(/opt/homebrew/bin/brew shellenv)" diff --git a/profiles/station/music.nix b/profiles/station/music.nix index 6f80c92..d991e5c 100644 --- a/profiles/station/music.nix +++ b/profiles/station/music.nix @@ -21,11 +21,17 @@ with lib; max_connections = 20; connection_timeout = 60; }; + spotify = { + allow_cache = true; + cache_size = 0; + }; }; extraConfigFiles = [ config.secrets.mopidy.path ]; }; + secrets.mopidy.owner = ivi.username; + hm.programs.ncmpcpp = { enable = true; bindings = [ @@ -194,6 +200,7 @@ with lib; statusbar_time_color = "cyan:b"; execute_on_song_change = ''"pkill -RTMIN+11 dwmblocks"''; execute_on_player_state_change = ''"pkill -RTMIN+11 dwmblocks"''; + mpd_connection_timeout = 60; }; }; } |
