my NixOS and nix-darwin config
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

edit starship to show host name

+27 -14
+27 -13
modules/home/prompts/starship/starship.toml
··· 5 5 continuation_prompt = "[▸▹ ](dimmed white)" 6 6 7 7 format = """( $directory$nix_shell$container$fill$git_metrics\n)$cmd_duration\ 8 - $hostname\ 9 - $localip\ 10 - $shlvl\ 11 - $shell\ 12 - $env_var\ 13 - $jobs\ 14 - $sudo\ 15 8 $username\ 9 + ${custom.hostname}\ 16 10 $character""" 11 + 12 + 13 + # format = """( $directory$nix_shell$container$fill$git_metrics\n)$cmd_duration\ 14 + # $hostname\ 15 + # $localip\ 16 + # $shlvl\ 17 + # $shell\ 18 + # $env_var\ 19 + # $jobs\ 20 + # $sudo\ 21 + # $username\ 22 + # $character""" 17 23 18 24 right_format = """ 19 25 $singularity\ ··· 92 98 93 99 [character] 94 100 format = "$symbol " 95 - success_symbol = "[◎](bold italic bright-yellow)" 96 - error_symbol = "[○](italic purple)" 97 - vimcmd_symbol = "[■](italic dimmed green)" 101 + success_symbol = "[◎](bold bright-yellow)" 102 + error_symbol = "[○](purple)" 103 + vimcmd_symbol = "[■](dimmed green)" 98 104 # not supported in zsh 99 105 vimcmd_replace_one_symbol = "◌" 100 106 vimcmd_replace_symbol = "□" ··· 111 117 disabled = false 112 118 113 119 [username] 114 - style_user = "bright-yellow bold italic" 115 - style_root = "purple bold italic" 116 - format = "[⭘ $user]($style) " 120 + style_user = "bright-yellow bold" 121 + style_root = "purple bold" 122 + format = "[$user]($style)" 117 123 disabled = false 118 124 show_always = false 119 125 ··· 167 173 [[battery.display]] 168 174 threshold = 70 169 175 style = "italic dimmed yellow" 176 + 177 + [custom.hostname] 178 + description = "hostname" 179 + command = 'hostname' 180 + style = "italic bold dimmed white" 181 + symbol = "" 182 + when=true 183 + format = "[@$output]($style) " 170 184 171 185 # custom module for jj status 172 186 [custom.jj]
-1
result
··· 1 - /nix/store/g9dnf2f5i82ijnyjsa5466gfjljs21zn-nixos-rebuild-ng-26.05