Commit graph

106 commits

Author SHA1 Message Date
8c06225004 fix(wintermute): update caddy backends for alt's new IP and add packages
Update reverse proxy backends from 192.168.80.4 to 192.168.80.9 for
services still hosted on alt (files, shiori, books, recipes, jelly).
Add avahi and bat to wintermute's packages.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 13:11:52 +10:00
2165edef40 Add trusted users 2026-04-11 13:02:57 +10:00
2ede41bb36 Add server module to wintermute 2026-04-11 12:36:11 +10:00
d0473f06c5 Add wintermute cert 2026-04-11 12:35:57 +10:00
265a299f24 fix: remove trusted-users escalation, restore comments, move man-db to core
- Remove alex from nix.settings.trusted-users in core.nix (was not in
  the original base.nix and widens attack surface by allowing arbitrary
  binary cache configuration without sudo)
- Restore useful comments in base.nix (zram explanation, earlyoom
  purpose, avahi/systemd-resolved notes)
- Move documentation.man.man-db.enable = false into core.nix so all
  hosts get it, remove redundant setting from wintermute and nightcity

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 11:21:56 +10:00
4c5a639720 feat: add wintermute host as dedicated reverse proxy
Minimal LXC host importing only core.nix — no build toolchains, no
Home Manager. Caddy config migrated from alt with all existing vhosts
intact. Ready to clone from bootstrap template and deploy.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 10:55:46 +10:00
28e7103375 refactor: split base.nix into core.nix + base.nix layers
core.nix is the new minimal layer: user, SSH, fish, nix flakes/gc,
locale, and a handful of essential packages. Suitable for any headless
host that just needs to be SSHable and manageable.

base.nix now imports core.nix and adds the day-to-day quality-of-life
layer: avahi, mosh, direnv, nix-ld, earlyoom, zramSwap, CLI tools,
and build toolchains. All existing hosts that import base.nix are
unchanged.

bootstrap is updated to import core.nix directly instead of
duplicating the config inline.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-11 10:55:04 +10:00
459a8622c9 Add lxc bootstrap host 2026-04-11 09:35:22 +10:00
356362a6e1 fix(panam): update forgejo for sqlite3 and set SSH_DOMAIN to panam.local 2026-04-10 14:30:24 +10:00
dc92d5cb97 Change sqlite to sqlite3
Didn't compile before.
2026-04-09 22:19:08 +10:00
3b56a51634 feat: add panam host for forgejo instance 2026-04-09 21:54:25 +10:00
394e4415d3 Fix intermittent mDNS resolution failures
Switch NetworkManager WiFi backend to iwd to resolve repeated
wpa_supplicant disconnects caused by nl80211 send_event_marker
incompatibility with iwlwifi. Each disconnect was triggering avahi
SIGHUP reloads, causing .local name resolution to fail for several
minutes at a time.

Also disable WiFi power save in TLP and enable IPv6 mDNS resolution
via NSS (nssmdns6) for hosts that only advertise IPv6 addresses.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-09 18:24:59 +10:00
645767b982 Merge remote-tracking branch 'origin/main' 2026-03-30 21:53:52 +10:00
34a9dcde1f Add more nerdfonts 2026-03-30 21:52:57 +10:00
6788693016 Add gpu drivers for count 2026-03-30 21:22:40 +10:00
c181767427 Merge remote-tracking branch 'origin/main' 2026-02-24 12:30:34 +10:00
9e0c352e0a Add groups 2026-02-24 12:30:24 +10:00
4dd6269207 Merge remote-tracking branch 'origin/main' 2026-02-24 12:24:12 +10:00
c504fea109 Enable direnv 2026-02-24 12:21:43 +10:00
3e9aa3f842 Change swap settings 2026-02-24 12:21:01 +10:00
f33d6be892 Remove swap file 2026-02-24 12:20:06 +10:00
98f039d2a2 Add bc and qalc 2026-02-21 13:20:59 +10:00
931e6f1c8f Add user to dialout 2026-02-21 13:20:32 +10:00
e06340c2d2 Move mosh from server to base 2026-01-31 10:38:07 +10:00
8ea4397b05 Add ledger support 2026-01-20 09:50:18 +10:00
5bdf5aeac9 Open firewall for avahi
Hopefully this helps
2026-01-20 09:47:17 +10:00
d99c948019 Add jellyfin server
And add plex to reverse proxy.
2026-01-16 19:16:40 +10:00
bdf77c9149 Add alt.local caddy root certificate 2026-01-15 11:29:02 +10:00
8394616706 Switch lan tld from 'box' to 'lan' 2026-01-15 11:07:36 +10:00
bfdd418589 Add syncthing to case 2026-01-04 19:34:22 +10:00
9e8313a8df Add some more desktop apps
And attempt to make the connections opening in nautilus.
2026-01-03 16:05:53 +10:00
a76299e62f Refactor
Move more stuff into home manager as appropriate.  Use 'personal'
instead of 'home' for non-work stuff.
2025-12-24 17:37:06 +10:00
f2eae24609 Merge branch 'main' into sway 2025-12-24 16:22:56 +10:00
afd8f090ec Add syncthing to count 2025-12-24 16:18:42 +10:00
87e01e4b80 Merge branch 'main' into sway 2025-12-24 01:01:20 +10:00
c565a01115 Add syncthing to alt 2025-12-24 00:58:49 +10:00
98185f4e4e Merge remote-tracking branch 'origin/sway' into sway 2025-12-23 17:44:59 +10:00
121097e13e Add meld 2025-12-23 17:43:55 +10:00
4a5c21b1af Refactor the darktable thing 2025-12-23 10:30:29 +10:00
b2ec325396 Add gemini cli 2025-12-22 16:22:56 +10:00
f48b904b3b Disable man caches 2025-12-22 16:22:42 +10:00
d5ef5bb775 Add sway to case 2025-12-22 10:38:13 +10:00
486b16a110 Set darktable to open with wayland 2025-12-21 23:04:27 +10:00
0031fbad63 Add swayfx and some fancy styling 2025-12-21 22:20:43 +10:00
882ed7fad7 Fix some stuff i broke in the refactor 2025-12-21 21:41:36 +10:00
6f60f3b116 Fix some errors in the refactor 2025-12-21 19:03:56 +10:00
1f76671a71 Refactor sway stuff 2025-12-21 18:57:15 +10:00
c6efec9bb7 Initial commit of sway running 2025-12-21 14:03:00 +10:00
10a9f560e7 Add en-GB to firefox
Not sure if this actually did anything.
2025-12-21 13:53:48 +10:00
fcb71caa6c Reorganise packages 2025-12-21 13:52:59 +10:00