fork/home-manager
git clone https://git.julia.blue/fork/home-manager
fc2a8842
master
1{ config , ...} : 2 3{ 4programs . k9s = { 5enable = true ; 6package = config . lib . test . mkStubPackage { }; 7 8settings = { 9k9s = { 10refreshRate = 2 ; 11maxConnRetry = 5 ; 12enableMouse = true ; 13headless = false ; 14}; 15}; 16hotkey = { 17hotKey = { 18shift-0 = { 19shortCut = "Shift-0" ; 20description = "Viewing pods" ; 21command = "pods" ; 22}; 23}; 24}; 25skin = { 26k9s = { 27body = { 28fgColor = "dodgerblue" ; 29bgColor = "#ffffff" ; 30logoColor = "#0000ff" ; 31}; 32info = { 33fgColor = "lightskyblue" ; 34sectionColor = "steelblue" ; 35}; 36}; 37}; 38}; 39 40nmt . script = '' 41assertFileExists home-files/.config/k9s/config.yml 42assertFileContent \ 43home-files/.config/k9s/config.yml \ 44${ ./example-config-expected.yml } 45assertFileExists home-files/.config/k9s/skin.yml 46assertFileExists home-files/.config/k9s/hotkey.yml 47assertFileContent \ 48home-files/.config/k9s/skin.yml \ 49${ ./example-skin-expected.yml } 50assertFileContent \ 51home-files/.config/k9s/hotkey.yml \ 52${ ./example-hotkey-expected.yml } 53'' ; 54}