Skip to content

Instantly share code, notes, and snippets.

@rickhull
rickhull / configuration.nix
Last active September 1, 2026 22:57
Prometheus, Grafana, Loki, Promtail on NixOS
# MONITORING: services run on loopback interface
# nginx reverse proxy exposes services to network
# - grafana:3010
# - prometheus:3020
# - loki:3030
# - promtail:3031
# prometheus: port 3020 (8020)
#
services.prometheus = {
@hroi
hroi / fish_jj_prompt.fish
Last active July 1, 2026 22:12
Jujutsu (jj) prompt for fish-shell
# Place me in ~/.config/fish/functions
# Then add me to `fish_vcs_prompt`: `funced fish_vcs_prompt` and save it to
# your personal config: `funcsave fish_vcs_prompt;`
function fish_jj_prompt --description 'Write out the jj prompt'
# Is jj installed?
if not command -sq jj
return 1
end
https://www.youtube.com/watch?v=tlQ7EoJDTQY
Hello, internet. I am making one of those videos where you sit in a chair and
directly address the camera about a serious subject. I know it's not in my
wheelhouse, and there are people who do this way better. And in fact, that's the
reason I'm making this video is that something happened last week that I really
wanted to see people make this kind of video about, and nobody did. So, I'm
hoping that I can generate some attention for it and some interest in this topic
so that people will cover it.