diff options
| author | Mike Vink <mike@pionative.com> | 2024-06-12 09:29:18 +0200 |
|---|---|---|
| committer | Mike Vink <mike@pionative.com> | 2024-06-12 09:29:18 +0200 |
| commit | 30321da3d82f71850f14296aaa5dd50b5816aa07 (patch) | |
| tree | f22bceb983c13bb250ef9d2eaede31ccbb321b32 | |
| parent | 70623bff625d9f937d6d6d8458eb7dfca796a11c (diff) | |
vim as manpager and timeout ncmpcpp to 60
| -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; }; }; } |
