No description
Find a file
Pim Kunis 2d9dac97d8 Add Loki/Vector log aggregation stack and loki-mcp
- Set up Loki on roeland (/mnt/BFD/loki) with tsdb/v13 schema, inmemory
  kvstore, warn log level
- Add shared Vector module shipping journald logs to Loki across all
  hosts and nspawn containers, with SYSLOG_IDENTIFIER fallback
- Add loki.ts.kun.is Caddy vhost and DNS CNAME
- Provision Loki as Grafana datasource on warwick
- Package loki-mcp and add to overlay and blocktech system packages
- Add git to profilarr container
- Remove stale vlmcsd entry from globals.nix

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-19 02:52:19 +02:00
modules Add Loki/Vector log aggregation stack and loki-mcp 2026-04-19 02:52:19 +02:00
secrets Remove stale lewis nixos.yaml secrets and unused gamepc sops config 2026-04-18 20:24:38 +02:00
.envrc Add git-hooks 2024-10-28 12:25:19 +01:00
.gitignore Update flake inputs and remove formatter and git hooks 2026-03-02 22:42:05 +01:00
.sops.yaml Remove nebula again 2026-04-03 14:24:54 +02:00
CLAUDE.md Add git workflow note to CLAUDE.md 2026-04-18 20:26:39 +02:00
flake.lock Update flake inputs 2026-04-09 20:22:58 +02:00
flake.nix Pin yt-dlp for pinchflat to latest master Nixpkgs 2026-03-14 17:58:30 +01:00
globals.nix Add Loki/Vector log aggregation stack and loki-mcp 2026-04-19 02:52:19 +02:00
README.md Expose nextcloud on nebula 2026-03-29 17:29:42 +02:00

nixos-configs

NixOS configurations for the machines I manage.

Currently managed systems:

  • blocktech: My current laptop, a ThinkPad P1 running GNOME.
  • gamepc: My gaming PC running Cosmic
  • warwick: A Raspberry Pi 4 Model B, which mostly does monitoring
  • atlas: A Gigabyte Brix, currently running NixOS containers
  • lewis: A Gigabyte Brix, currently running NixOS containers
  • roeland: A Minisforum UN100P, runs my Jellyfin + *arr setup

Deployment

I use Colmena for deploying my machines.

To apply to the local machine:

sudo colmena apply-local --sudo

To apply to all remotely managed systems:

colmena apply

Collabora manual actions

Apart from the declarative commands, these commands also need to be ran on the server for a successful Collabora setup:

# From the perspective of Nextcloud
nextcloud-occ config:app:set richdocuments wopi_url --value="http://collabora.mesh.kun.is:9980"
# From the perspective of clients
nextcloud-occ config:app:set richdocuments public_wopi_url --value="http://collabora.mesh.kun.is"
nextcloud-occ richdocuments:activate-config