fork/home-manager
git clone https://git.julia.blue/fork/home-manager
cb09a968
master
1{ config , lib , pkgs , ...} : 2 3with lib ; 4 5{ 6config = { 7programs . starship = { 8enable = true ; 9 10settings = mkMerge [ 11{ 12add_newline = false ; 13format = concatStrings [ 14"$line_break" 15"$package" 16"$line_break" 17"$character" 18]; 19scan_timeout = 10 ; 20character = { 21success_symbol = "➜" ; 22error_symbol = "➜" ; 23}; 24package . disabled = true ; 25memory_usage . threshold = - 1 ; 26aws . style = "bold blue" ; 27battery = { 28charging_symbol = "⚡️" ; 29display = [{ 30threshold = 10 ; 31style = "bold red" ; 32}]; 33}; 34} 35 36{ 37aws . disabled = true ; 38 39battery . display = [{ 40threshold = 30 ; 41style = "bold yellow" ; 42}]; 43} 44]; 45}; 46 47test . stubs . starship = { }; 48 49nmt . script = '' 50assertFileContent \ 51home-files/.config/starship.toml \ 52${ ./settings-expected.toml } 53'' ; 54}; 55}