Compare commits

...

2 commits

Author SHA1 Message Date
a96821361d caddy: make each machine have a seperate subdomain based on their hostname 2025-05-04 18:51:57 +10:00
7ba36885bf zsh: set text colour to white
zsh-syntax-highlighting may not highlight the text currently in the
prompt, sometimes making text look as if zsh-syntax-highlighting wasn't
there at all. before this the colour was black which made it unreadable.
2025-05-04 18:33:30 +10:00
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
};
config = {
homelab.domain = "int.astolfo.org";
homelab.domain = "${config.networking.hostName}.astolfo.org";
networking.firewall.allowedTCPPorts = [ 80 443 ];
services.caddy = {

View file

@ -48,7 +48,7 @@ else
TEXT_COLOUR="{black}"
fi
PROMPT="%K$PRIMARY_COLOUR%F$TEXT_COLOUR %~ %K$SECONDARY_COLOUR $OSICON %k "
PROMPT="%K$PRIMARY_COLOUR%F$TEXT_COLOUR %~ %K$SECONDARY_COLOUR $OSICON %k%F{white} "
RPROMPT="%F{7}$HOSTNAME"
bindkey -e