My personal nix config files. Feel free to import flake.

add shell sources; adjust starship prompt

+28 -1
+13
modules/home-manager/sources/.config/ghostty/config
··· 1 + shell-integration-features = cursor,sudo,title 2 + custom-shader = ghostty-shaders/my_bloom.glsl 3 + custom-shader-animation = true 4 + copy-on-select = false 5 + window-padding-x = 7,12 6 + window-padding-y = 7,12 7 + window-padding-balance = true 8 + window-padding-color = extend 9 + background = #23272F 10 + cursor-opacity = 0.6 11 + font-size = 8 12 + font-thicken = true 13 + mouse-hide-while-typing = true
+14
modules/home-manager/sources/.config/ghostty/ghostty-shaders/my_bloom.glsl
··· 1 + float scan = 0.15; 2 + float bloomIntensity = 15.0; 3 + float scanlineFrequency = 1.0; 4 + 5 + void mainImage(out vec4 fragColor, in vec2 fragCoord) 6 + { 7 + vec2 uv = fragCoord / iResolution.xy; 8 + vec2 dc = abs(0.5 - uv); 9 + dc *= dc; 10 + vec3 color = texture(iChannel0, uv).rgb; 11 + float apply = abs(sin(fragCoord.y * scanlineFrequency) * 0.5 * scan); 12 + vec3 bloom = max(color - vec3(0.45), 0.0) * bloomIntensity; 13 + fragColor = vec4(mix(color, bloom, apply), 1.0); 14 + }
+1 -1
modules/home-manager/sources/.config/starship.toml
··· 240 240 241 241 [nix_shell] 242 242 style = 'bg:color_bg_purple' 243 - format = '[$state]($style)[$name ](fg:#color_fg0 bg:color_bg_purple)' 243 + format = '[$state]($style)[$name ](fg:color_fg0 bg:color_bg_purple)' 244 244 impure_msg = '[ ⌽ ](fg:color_red bg:color_bg_purple)' 245 245 pure_msg = '[ ⌾ ](fg:color_green bg:color_bg_purple)' 246 246 unknown_msg = '[ ◌ ](fg:color_yellow bg:color_bg_purple)'