NixOS Servers: Reproducible Declarative Configuration in Nix
NixOS rebuilds a whole server from one declarative file: packages, services, users, and firewall in code, with rollbacks that make changes boring.
NetBay journal
Practical guides for Linux, containers, CI/CD, self-hosting, and running VPS infrastructure from Netbay Engineering.
599 articles · 24 topics
NixOS rebuilds a whole server from one declarative file: packages, services, users, and firewall in code, with rollbacks that make changes boring.
Replace Google Analytics with Umami, a cookieless self-hosted analytics tool with a Postgres backend, real-time dashboards, and no consent banners.
Apply the four IaC principles — declarative, version-controlled, reviewable, testable — to stop infrastructure drift and sketchy manual changes.
See how context length grows KV cache RAM and slows prompt eval on a CPU VPS so you can pick 2k, 4k, or 8k windows without an OOM on 8 GB RAM.
Create 802.1Q VLAN interfaces on Linux with ip link and use them with bridges for isolated virtual network segments.
Inject configuration and sensitive values into your pods with ConfigMaps and Secrets, and learn the right way to mount or reference them.
Understand JWT structure, signing algorithms, and token storage so you can avoid XSS and CSRF exposure when securing your API against attackers.
How fstrim and the discard mount option keep a virtualized SSD from wearing out or reporting phantom usage, with the guest-side commands to verify.
Add inbound Windows Firewall rules without locking out RDP. Scope by remote IP, confirm with a second session, then drop the wide-open defaults.
Enable the slow query log, read EXPLAIN without folklore, and fix the table scans that actually burn CPU on a busy production MariaDB VPS host.
Store web sessions in Redis with short keys, SETEX TTLs, and cookie hygiene so logins survive app restarts without turning Redis into a public session dump.
Treat the systemd journal as the canonical log store on a VPS: persistent disk, field queries, vacuum limits, and one pipeline into Promtail or nothing.