Commit graph

195 commits

Author SHA1 Message Date
magic_rb 8e492c9450
Testing blowhole kubernetes setup
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:59:03 +01:00
magic_rb 4e549e10d0
Firewall changes on blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:56:49 +01:00
magic_rb e8d7047549
Microvm nftable changes on blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:56:30 +01:00
magic_rb 6554cc6e89
Increase user watch limits on blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:55:59 +01:00
magic_rb 4a76762457
Reformat klipper.nix on blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:55:23 +01:00
magic_rb 1401b7e042
Update Nomads docker forcefully to avoid runc CVE
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-02 21:48:07 +01:00
magic_rb b87986d6d7
Accept blowhole minecraft port
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-11 16:21:25 +01:00
magic_rb 990c6cb222
Increase stepper current
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-11 01:06:12 +01:00
magic_rb 9f4c8832db
Use bypassed consul for klipper too
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-09 20:04:51 +01:00
magic_rb b86de7ccf5
Properly bypass Hashicorp stuff being non-free now
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-09 19:38:04 +01:00
magic_rb e1eef717b0
Allow non-free consul for now
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-02-09 15:40:00 +01:00
magic_rb 4cc46ade9a
Klipper adjustments
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-31 15:30:30 +01:00
magic_rb b78b4ce5be
Fix evaluation due to usage of optinal secrets in blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 10:00:14 +01:00
magic_rb 1ea62e80e2
Fix up klipper
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 00:44:41 +01:00
magic_rb d925c68f58
Add service to deploy home-assistant pyscript scripts
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 00:44:17 +01:00
magic_rb b7d82b950c
Disable vault agent kodi mount
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-01-22 00:43:34 +01:00
magic_rb 39d36d5457
Add ssh-remote-access
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-12-30 19:42:55 +01:00
magic_rb 6331357b45
Add login notify module
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-12-23 20:01:59 +01:00
magic_rb ad6a5f6784
Add disk monitoring to blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-12-03 20:00:10 +01:00
magic_rb 89afaf89c1
Disable a thing in ZFS which can cause file corruption
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-11-25 17:59:27 +01:00
magic_rb 0ca5e9e4aa
Fix creation of /dev/ttyZigbee on blowhole
Signed-off-by: magic_rb <magic_rb@redalder.org>
2023-11-25 17:50:38 +01:00
magic_rb 2b11913dc9
Better pin zigbee dongle serial device
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-23 23:30:38 +02:00
magic_rb 671aff30e4
Delete ical2org completely
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-22 16:56:31 +02:00
magic_rb 52d2b22844
Use path instead of export in nftables service on blowhole
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-07 22:47:29 +02:00
magic_rb 985d7ea696
Switch the dhcp server on blowhole to kea
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-07 22:44:42 +02:00
magic_rb e49ef5e713
Disable monitoring on blowhole
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-07 22:29:46 +02:00
magic_rb 8db1c182ef
Update blowhole
Signed-off-by: magic_rb <richard@brezak.sk>
2023-10-07 15:45:26 +02:00
Magic_RB 34bb23c67f
Initial implementation of microvm-extras
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-09-28 10:31:25 +02:00
Magic_RB 61bab3a8bf
Fix backup issue on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-09-16 16:41:41 +02:00
Magic_RB 9b371b8662
Add InfluxDB provisioning script
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-09-03 18:03:00 +02:00
Magic_RB 410b6c0838
Expose some services to semi wan
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-09-02 23:19:01 +02:00
Magic_RB fd2ce42d15
Setup grok parsing for apache and nginx
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-28 20:06:11 +02:00
Magic_RB b7cdd44967
Increase dnscrypt-proxy cache size to 32768
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-28 14:34:00 +02:00
Magic_RB 16d3d01c23
Tune dnscrypt-proxy2 a tiny bit
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-28 00:22:54 +02:00
Magic_RB fabd23d92d
Fix dns zone for in.redalder.org
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-27 22:36:47 +02:00
Magic_RB 3dd66e0a9b
Add altra to DNS
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-27 21:04:21 +02:00
Magic_RB bd556bcc11
Reduce watchdog reboot time to 3 minutes
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-20 12:35:50 +02:00
Magic_RB 369b6ddadf
Enable Serial over Lan on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-20 12:35:34 +02:00
Magic_RB 5d516e080b Add new Minecraft modules and containers
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-19 00:37:47 +02:00
Magic_RB 0f0ebf822a
Fix wrong interface on nomad on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-18 11:47:43 +02:00
Magic_RB 686582722c
Fix wrong mount for vault on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-18 11:45:01 +02:00
Magic_RB 361e6b2065
Add ipmi_watchdog to blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-18 11:44:48 +02:00
Magic_RB cbc32aef09
Disable wlan on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-18 11:44:27 +02:00
Magic_RB f0cf4e1a54
Move Consul and Vault onto ZFS on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-10 23:36:07 +02:00
Magic_RB a5075271b4
Update inputs
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-10 23:35:56 +02:00
Magic_RB 9bc92124ed
Adjust firewall on blowhole to new motherboard
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-09 23:54:19 +02:00
Magic_RB de00d86dc4
Accept wireguard on the WAN interface
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-07-09 23:44:15 +02:00
Magic_RB 005cfe5eb1
Disable hostapd on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 21:53:17 +02:00
Magic_RB a64b46e61a
Make vault-agent not freak out on failed service restarts
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 21:52:45 +02:00
Magic_RB 39742dc4a2
Mark camera mount as nofail
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 14:25:51 +02:00
Magic_RB e73ff8a96a
Remove wacky NAS mounts, they're handled by ZFS natively now
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 14:25:16 +02:00
Magic_RB 8cfde06cdd
Switch jellyfin to a host volume and add new share for media
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 14:25:00 +02:00
Magic_RB 004cfb039b
Harden blowhole agains sealed Vault
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-28 14:23:08 +02:00
Magic_RB 134082a1da
Fix mainsail http path
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 02:40:50 +02:00
Magic_RB 9c0c892050
Fix blowhole nomad network
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 02:05:35 +02:00
Magic_RB c38b7e1918
Allow communication between containers
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 01:10:07 +02:00
Magic_RB ca2f480255
Fix incorrect flake host
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 00:55:05 +02:00
Magic_RB 637dc2877f
Permit unsupported envoy version
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-19 00:30:07 +02:00
Magic_RB de385c1d60
Fix nomad on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-18 23:20:10 +02:00
Magic_RB 64db0229c0
Fix failed evaluation without secrets in blowhole/firewall.nix
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-18 20:08:35 +02:00
Magic_RB 3b5a09f9cb
Enable the extension of lib
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-18 20:07:47 +02:00
Magic_RB fed32ecfca Possibly functional blowhole configuration
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:09 +02:00
Magic_RB b673fb12c1
Clean out the repository
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-10 10:34:14 +02:00
Magic_RB 8ce216d3f3
Add second DoH endpoint to proxy
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 16:14:30 +02:00
Magic_RB 6fdfe3511a
Rename stubby to dnscrypt-proxy2 in nftables comment on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:51:14 +02:00
Magic_RB 1b63b0aa1a
Allow containers in Nomad to reach Nomad
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:50:39 +02:00
Magic_RB 6bab5c1707
Switch out stubby for dnscrypt-proxy2
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:48:13 +02:00
Magic_RB 2b707885ab
Fixup klipper container
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:47:48 +02:00
Magic_RB 602b194cf8
Fix restarting of monitoring proxies by vault-agent
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:47:20 +02:00
Magic_RB 6f2ed9250a
Fix vault-agent restart on blowhole breaking klipper
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:46:56 +02:00
Magic_RB d8dce01fc1
Add nomad and matrix to internal DNS
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-28 12:46:27 +02:00
Magic_RB 9bd3b12c4a
Increase watchdog times on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-03 12:12:47 +02:00
Magic_RB eaa22d8e4c
Take logs from Docker
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-03 12:12:13 +02:00
Magic_RB 9a50d57305
Include extra labels in Docker from Nomad
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-03 12:11:43 +02:00
Magic_RB afa6ce6247
Fix hostapd mac address passwords
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-02 14:44:15 +02:00
Magic_RB 30ba25f277
Enable InfluxDB provider and provision Grafana
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-05-02 14:41:55 +02:00
Magic_RB 0804d717fc
consul on blowhole change loglevel go INFO
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-23 23:23:06 +02:00
Magic_RB 22a76d6274
Fix klipper envoy tokens on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-16 11:57:22 +02:00
Magic_RB a4dc73f311
Repin nixpkgs for hashicorp things
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-16 11:47:53 +02:00
Magic_RB eec8f409d6
Don't block outgoing DoT traffic, iifname doesn't work in output
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-04 00:41:25 +02:00
Magic_RB d2374ad9f6
Revert "Add codespace container"
This reverts commit 48066a7e0d.

Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 18:40:20 +02:00
Magic_RB 48066a7e0d
Add codespace container
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 18:37:57 +02:00
Magic_RB 8e3b1fc69d
Add monitoring container PoC
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 17:54:35 +02:00
Magic_RB 8b5c787b8a
Move klipper into NixOS container
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 17:45:14 +02:00
Magic_RB dfe57b87da
Fix hostapd with per mac address psk
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 13:23:10 +02:00
Magic_RB f8bbdc9a54
Use tf in blowhole uterranix config
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 02:12:16 +02:00
Magic_RB cdc6d1b263
Use nixpkgs-hashicorp for vault and vault-agent
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 02:11:08 +02:00
Magic_RB ba73eb214f
Switch nixinate host to domain for blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:33:20 +02:00
Magic_RB 0bd739cab7
Add watchdog to blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:32:57 +02:00
Magic_RB 0328cac478
Fix ipv6 issues on blowhole which break adb
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:32:36 +02:00
Magic_RB a55613fefa
Add tmpfiles configuration to hashicorp-vault-agent on blowhole
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:31:37 +02:00
Magic_RB 807f776c35
Add new uterranix config
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:29:47 +02:00
Magic_RB 1877d128b3
Add domain for influx
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:28:33 +02:00
Magic_RB 3f7585af77
Use specific nixpkgs pin for Hashicorp stuff
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-04-03 01:26:58 +02:00
Magic_RB eae03c9699
fix DNS
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-03-28 00:06:49 +02:00
Magic_RB 27f1978d23
Make module imports in blowhole relative
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-03-06 00:32:20 +01:00
Magic_RB bbe1a2a6ad
Move secrets templates out of vault-agent module
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-03-06 00:30:29 +01:00
Magic_RB abad79541e
Simplify DNS zones
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-03-06 00:29:03 +01:00
Magic_RB a0a3ae2656
Get rid off the wireguard RestartSec hack
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-02-19 01:11:03 +01:00
Magic_RB f923362537
Update inputs
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-02-19 01:03:49 +01:00