1
0
Fork 0
mirror of https://github.com/mdlayher/homelab.git synced 2024-12-14 11:47:32 +00:00
Commit graph

480 commits

Author SHA1 Message Date
Matt Layher
82f608baff
nixos/servnerr-3: remove /secondary mount, pools swapped
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-02-08 11:52:37 -05:00
Matt Layher
c8fb9e8d9a
nixos/lib: more system packages
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-02-08 11:52:19 -05:00
Matt Layher
97bee2884a nixos/servnerr-3: mount secondary zpool 2022-02-07 19:59:33 -05:00
Matt Layher
96a8f02bc9 nixos/lib: add lsof and pv packages 2022-02-07 19:59:07 -05:00
Matt Layher
3d0b91dfd9 nixos/lib: add iotop, enable root console login 2022-02-06 10:53:31 -05:00
Matt Layher
e9d78faf78 nixo/servnerr-3: bump Prometheus retention to 5 years 2022-02-05 20:26:36 -05:00
Matt Layher
9d05cd196d nixos/servnerr-3: enable tarsnap backups 2022-02-05 20:24:41 -05:00
Matt Layher
0b693340c5 nixos/servnerr-3: CoreRAD v1.0.0 2022-02-01 22:23:04 -05:00
Matt Layher
97a7be0874 nixos/routnerr-2: CoreRAD v1.0.0 2022-02-01 22:17:37 -05:00
Matt Layher
65115e56ea
nixos/lib: delete generations older than 7 days
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 21:48:20 -05:00
Matt Layher
1fbed8d53f
nixos/routnerr-2: refer to /boot disk by ID
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 21:29:09 -05:00
Matt Layher
8292dfefef
nixos/routnerr-2: regenerate hardware config and nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 21:23:06 -05:00
Matt Layher
41f5c9e3f8
nixos/lib: enable firmware updates on all machines
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:38:55 -05:00
Matt Layher
e299f63e02
nixos/servnerr-3: regenerate hardware configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:31:11 -05:00
Matt Layher
c71716357e nixos/servnerr-3: tidy up Prometheus alerts
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:24:15 -05:00
Matt Layher
06267a2384
nixos/routnerr-2: remove apcupsd and minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:16:15 -05:00
Matt Layher
56f712ecac
nixos/servnerr-3/prometheus: remove router apcupsd, new windows machine
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:15:53 -05:00
Matt Layher
90aa81ad5a
nixos/lib: remove gnupg
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:09:33 -05:00
Matt Layher
9473eff007
nixos/lib: use Linux 5.15 LTS on all machines
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 20:01:07 -05:00
Matt Layher
143797259e
nixos/lib: add age package
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 19:23:13 -05:00
Matt Layher
3a742b5e39
nixos/lib: clean up unused modules and packages
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-31 09:47:38 -05:00
Matt Layher
ab676ef356 nixos/lib/vargen: new WireGuard peers 2022-01-22 16:10:23 -05:00
Matt Layher
a4a85b74a2 nixos/lib: new comma, add rustup and fwupd 2022-01-22 13:08:58 -05:00
Matt Layher
97c5014de1
nixos/routnerr-2: temporarily disable ModemManager
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-09 12:14:51 -05:00
Matt Layher
b9189e27ca
nixos/routnerr-2: back to stable CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-09 12:14:36 -05:00
Matt Layher
97a356ee23
nixos/lib: enable fstrim for all machines
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-01-09 12:13:50 -05:00
Matt Layher
af2d0058b3
nixos/lib: move drivetemp module load into lib
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-12-13 20:01:20 -05:00
Matt Layher
93458ee30d
nixos/servnerr-3: use latest ZFS kernel
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-12-07 11:24:06 -05:00
Matt Layher
36b635d409
nixos/servnerr-3: remove minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-12-01 13:59:50 -05:00
Matt Layher
57dbe41037
nixos/servnerr-3: enable Minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-10-29 00:21:05 -04:00
Matt Layher
60bb15b54c Revert "nixos/routnerr-2: remove Minecraft firewall rules"
This reverts commit 5f167d0cf5.
2021-10-28 23:55:56 -04:00
Matt Layher
2b263e3e15
nixos/routnerr-2: temporarily remove tengb0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-07-30 11:25:04 -04:00
Matt Layher
da1c74515a
nixos/routnerr-2: use new CoreRAD shortcuts for prefix/RDNSS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-07-21 14:14:36 -04:00
Matt Layher
a07044bb28 nixos/routnerr-2: fix CoreRAD optional DNSSL per interface expression 2021-06-30 07:20:31 -04:00
Matt Layher
dcc7033af7 nixos/routnerr-2: enable Tailscale 2021-06-30 07:20:11 -04:00
Matt Layher
83cd5913dc
nixos/routnerr-2: use CoreRAD automatic RDNSS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-06-28 13:13:24 -04:00
Matt Layher
ed1365d7ef
nixos/routnerr-2: move to unstable CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-06-28 13:03:51 -04:00
Matt Layher
e1e8836ef5 nixos/routnerr-2: upgrade to 21.05 2021-06-02 07:41:36 -04:00
Matt Layher
01546713a2 nixos/servnerr-3: upgrade to 21.05 2021-06-02 07:11:56 -04:00
Matt Layher
d4a2f6a53f
nixos/lib/vargen: new switch, printer using Ethernet
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-06-01 17:24:43 -04:00
Matt Layher
c7d9a022e9
nixos/lib/vargen: add office printer to IoT VLAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-25 10:41:43 -04:00
Matt Layher
9fc73814f7
nixos/routnerr-2: lan0 can reach metered WANs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-25 10:40:16 -04:00
Matt Layher
b101f2591d
nixos/lib/vargen: add Philips Hue Hub
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-12 11:59:32 -04:00
Matt Layher
9bb116cea2
nixos/routnerr-2: make more space for DHCPv4 reservations
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-11 12:11:47 -04:00
Matt Layher
6fdc0ff716
nixos/routnerr-2: add a few IoT VLAN devices
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-10 17:14:30 -04:00
Matt Layher
413974e997 Merge branch 'master' of github:mdlayher/homelab 2021-05-09 16:42:43 -04:00
Matt Layher
3c1f2649bc nixos/servnerr-3: scrape hass with Prometheus 2021-05-09 16:42:32 -04:00
Matt Layher
2f70ec92c6 nixos/servnerr-3: run hass container on host network 2021-05-09 16:42:03 -04:00
Matt Layher
7e12f21fe5
nixos/routnerr-2: relax IoT VLAN firewall rules
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-09 11:35:37 -04:00
Matt Layher
fd4452c668
nixos/routnerr-2: add hass traefik configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-09 11:35:22 -04:00
Matt Layher
f09a64650d
nixos/servnerr-3: deploy home assistant container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-05-05 15:04:31 -04:00
Matt Layher
97931423a3
nixos/servnerr-3: remove monitnerr-2 and switch-office02 from Prometheus
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-04-28 17:43:17 -04:00
Matt Layher
f78a7aec07
nixos/servnerr-3: ignore disconnected 10GbE interface for CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-04-28 17:34:17 -04:00
Matt Layher
b3bd77a01b nixos/lib: move nerr-3 to management VLAN 2021-04-21 20:09:48 -04:00
Matt Layher
dfb01e9d11
nixos/routnerr-2: remove RTP6 firewall rule
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-04-19 12:49:58 -04:00
Matt Layher
5e9a5965b1 nixos/lib: move servnerr-3 to infrastructure LAN 2021-04-18 11:15:21 -04:00
Matt Layher
50b5d16b03 Revert "nixos/routnerr-2: first attempt at Valheim firewall ports"
This reverts commit 2769647f12.
2021-03-24 14:33:27 -04:00
Matt Layher
e880ce5183
nixos/servnerr-3: remove BIRD OSPFv3 configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-03-24 14:29:22 -04:00
Matt Layher
b864947d50
nixos/lib: WIP conprof package and module
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-03-24 14:25:09 -04:00
Matt Layher
2769647f12
nixos/routnerr-2: first attempt at Valheim firewall ports
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-03-23 16:59:02 -04:00
Matt Layher
3b29f78a2d
nixos/servnerr-3: import Linux 5.10 LTS from stable
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-02-27 18:25:42 -05:00
Matt Layher
e927b679da
nixos/routnerr-2: import Linux 5.10 LTS from stable
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-02-27 18:19:08 -05:00
Matt Layher
f0acf14f66
nixos/servnerr-3: commit current BIRD2 OSPF configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-02-26 09:33:37 -05:00
Matt Layher
1a38bc0afa
nixos/servnerr-3: remove container shutdown workaround
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-02-16 14:24:20 -05:00
Matt Layher
88f43573dc
nixos/servnerr-3: add workaround for NixOS container shutdown
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-02-16 14:06:17 -05:00
Matt Layher
2e8b65d940
nixos/servnerr-3: unstable CoreRAD, add matt to libvirtd
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-23 14:18:51 -05:00
Matt Layher
3d8b5366a5
nixos/lib: use new systemd.watchdog option
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-22 13:27:00 -05:00
Matt Layher
a79c662c7d
nixos/servnerr-3: bump Prometheus alert intervals, change Netlify health check URLs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-20 14:52:24 -05:00
Matt Layher
50c3ac2314
nixos/routnerr-2: disable CoreRAD verbose logs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-06 13:00:21 -05:00
Matt Layher
e4ce57cc54
nixos/routnerr-2: enable verbose CoreRAD logs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-03 18:00:41 -05:00
Matt Layher
de73b7c36b
nixos/routnerr-2: move back to unstable CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-03 09:06:02 -05:00
Matt Layher
a8dc7fef62
nixos/servnerr-3: bump snmp_exporter snmp.yml to 0.19.0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 18:15:13 -05:00
Matt Layher
9e35bf5182
nixos/lib: factor out interface preference values
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 17:51:27 -05:00
Matt Layher
3ee5482969
nixos/lib/vargen: change internal_domain to internal_dns
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 17:37:26 -05:00
Matt Layher
2c40c7faab
nixos/lib/vargen: fetch IPv6 /56 dynamically
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 17:06:32 -05:00
Matt Layher
2b4b722e5b
nixos/lib/vargen: bump go.mod
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-01-02 16:40:02 -05:00
Matt Layher
5db54d8a21
nixos/routnerr-2: use Linux 5.10 LTS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-27 16:58:50 -05:00
Matt Layher
093e928ff0
nixos/servnerr-3: use Linux 5.10 LTS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-27 16:52:08 -05:00
Matt Layher
dab95ab094
nixos/lib/vargen: update IPv6 prefix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-17 14:34:59 -05:00
Matt Layher
7a86ba4539
nixos/routnerr-2: remove corp0 VLAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-12-17 09:09:35 -05:00
Matt Layher
8cead6ffbf nixos/lib: new Charter /56 2020-12-09 17:20:01 -05:00
Matt Layher
6d00b8f8ea nixos/servnerr-3: broaden IPv6 prefix alerting to Charter /40 2020-12-09 17:08:15 -05:00
Matt Layher
5f167d0cf5
nixos/routnerr-2: remove Minecraft firewall rules
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-19 19:19:55 -05:00
Matt Layher
262dde0190
nixos/servnerr-3: remove Minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-19 19:16:01 -05:00
Matt Layher
fea40ca219
nixos/servnerr-3: Minecraft user list tweaks
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-12 10:07:03 -05:00
Matt Layher
954a43d6e1
nixos/servnerr-3: adjust Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-11 14:20:22 -05:00
Matt Layher
85b6f1e2cd
nixos/routnerr-2: allow Minecraft through firewall
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-02 15:11:14 -05:00
Matt Layher
d704aa65ae
nixos/servnerr-3: add more Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-02 15:09:14 -05:00
Matt Layher
ac19433592
nixos/servnerr-3: add more Minecraft users
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-01 16:43:36 -05:00
Matt Layher
df996479dd
servnerr-3: start a Minecraft server container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-11-01 12:33:51 -05:00
Matt Layher
6e1f77ccd9
nixos/routnerr-2: migrate to traefik 2 configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-28 12:31:18 -04:00
Matt Layher
246718e8d2
nixos/routnerr-2: first pass at NixOS 20.09 upgrade
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 17:02:48 -04:00
Matt Layher
558db6defe
nixos/servnerr-3: replace docker with podman, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 16:17:18 -04:00
Matt Layher
1d49df371e
nixos/servnerr-3: upgrade to NixOS 20.09
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-27 16:09:54 -04:00
Matt Layher
4d3010b77d
nixos/servnerr-3: temporarily remove modemmanager exporter Prometheus target
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-10-12 11:14:27 -04:00
Matt Layher
1ff25822be
nixos/lib: update WAN IPv4
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-09-22 16:42:34 -04:00
Matt Layher
7608f489db
nixos/servnerr-3: install and run gpg-agent
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-09-02 11:36:42 -04:00
Matt Layher
ff602fa5f8
nixos/routnerr-2: remove CoreRAD managed flag
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-27 15:10:39 -04:00
Matt Layher
f479ed6088
nixos/routnerr-2: remove unused configurations
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-27 15:09:32 -04:00
Matt Layher
64ecca6702 nixos: nixfmt 2020-08-27 11:31:53 -04:00
Matt Layher
34a4a910a9
nixos/lib: install comma on all machines
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-18 12:59:49 -04:00
Matt Layher
5468c23b4f
nixos/servnerr-3: update IPv6 prefix alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 13:58:40 -04:00
Matt Layher
f80f0b5742
nixos/lib/vargen: update for new addressing
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 12:21:26 -04:00
Matt Layher
d20e529556
nixos/routnerr-2: disable miniupnpd, re-enable auto updates
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-17 12:12:40 -04:00
Matt Layher
79d5fe7182
nixos/routnerr-2: enable stable CoreRAD on lab0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-07 15:57:07 -04:00
Matt Layher
ca715ac54f
nixos/servnerr-3: remove CoreRAD br0 lab VLAN monitoring
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-08-07 15:30:17 -04:00
Matt Layher
57f83848e1
nixos/routnerr-2: temporarily enable miniupnpd
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-29 12:52:27 -04:00
Matt Layher
17a396a2f8 nixos/servnerr-3: rename interface, add lsscsi 2020-07-25 22:48:25 -04:00
Matt Layher
f71c1b86d2 nixos/servnerr-3: enable systemd watchdog 2020-07-23 09:46:43 -04:00
Matt Layher
cf87be70e4 nixos/routnerr-2: switch to upstream MM exporter 2020-07-22 12:55:40 -04:00
Matt Layher
4a146d24c3 nixos/lib/vargen: fix IPv6 subnet logic 2020-07-22 12:15:01 -04:00
Matt Layher
966e872f8d nixos/routnerr-2: open consrv port, disable rtp6 2020-07-20 12:16:46 -04:00
Matt Layher
c6fc68d271 nixos/routnerr-2: remove IPv6 LLA in favor of OS assigned 2020-07-20 12:16:21 -04:00
Matt Layher
1b331a1fa5 nixos/servnerr-3: modify CoreRAD monitor alerts to be less noisy 2020-07-20 10:06:44 -04:00
Matt Layher
200f00e5e3 nixos/servnerr-3: scrape modemmanager_exporter 2020-07-20 10:06:10 -04:00
Matt Layher
ea1b14bff8
nixos/lib: temporary out-of-tree package/module for modemmanager_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-16 13:53:30 -04:00
Matt Layher
32c7e00e6d
nixos/lib: add matt to networkmanager group
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-15 12:03:20 -04:00
Matt Layher
9622b6391a
nixos/routnerr-2: nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-14 14:35:52 -04:00
Matt Layher
9e1d7d86fe
nixos/lib: install nmon
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-09 14:20:44 -04:00
Matt Layher
c810559f18 Merge branch 'master' of github:mdlayher/homelab 2020-07-08 20:19:02 -04:00
Matt Layher
e5e0fff85a nixo/routnerr-2: enable systemd watchdog 2020-07-08 20:18:46 -04:00
Matt Layher
f2c66e7942
nixos/routnerr-2: remove unused nftables ports
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:57:24 -04:00
Matt Layher
0f43f40131
nixos: fix nix-linter issues
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:22:48 -04:00
Matt Layher
6069a07d97
nixos/servnerr-3: Prometheus scrape both netlify websites
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:18:17 -04:00
Matt Layher
8d4663e571
nixos/servnerr-3: fix up CoreRAD alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-08 10:13:42 -04:00
Matt Layher
da4e7207dc
nixos/servnerr-3: only alert on UPS time left if on battery
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 18:19:21 -04:00
Matt Layher
6f09861ce6
nixos/servnerr-3: apcupsd alerts, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 17:16:34 -04:00
Matt Layher
518932c242
nixos/lib: collapse nix and users config into system
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 17:03:15 -04:00
Matt Layher
25dbff15c6
nixos/lib: move node_exporter into system.nix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:59:43 -04:00
Matt Layher
d5e25fe6ea
nixos/servnerr-3: adjust CoreRAD alerting for running multiple instances
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:45:05 -04:00
Matt Layher
8d5e05a3a1
nixos/servnerr-3: deploy CoreRAD in monitor mode
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-07 16:23:35 -04:00
Matt Layher
0a6ea760ec
nixos/servnerr-3: add consrv Prometheus targets
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 14:56:11 -04:00
Matt Layher
f4b05aa892
nixos/routnerr-2: only allow management/10GbE LANs to LTE
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 11:10:42 -04:00
Matt Layher
0bd9c7077e
nixos/routnerr-2: initial multi-WAN firewall configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 10:22:16 -04:00
Matt Layher
63dde90aa3
nixos/routnerr-2: allow NM/MM to coexist with dhcpcd
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-05 10:12:59 -04:00
Matt Layher
d0581f74d6
nixos/servnerr-3: add monitnerr-2 Prometheus node scrape
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-02 13:53:36 -04:00
Matt Layher
363ad2ba4f
nixos/lib: add host monitnerr-2
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-02 13:53:05 -04:00
Matt Layher
12e95367a2
nixos/servnerr-3: re-enable node monitoring on monitnerr-1
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-27 15:53:21 -04:00
Matt Layher
7d136fdc3f
nixos/routnerr-2: move toward managing modem with NM/MM
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-26 09:50:53 -04:00
Matt Layher
382896a21b
nixos/servnerr-3: remove monitnerr-1 Prometheus targets
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:33 -04:00
Matt Layher
b8f8cb5648
nixos/servnerr-3: set kernel 5.6 for ZFS
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:22 -04:00
Matt Layher
325f564434
nixos/lib: remove noXlibs due to strange problems
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-25 17:55:04 -04:00
Matt Layher
396004a3b5
nixos/lib: add pkg-config
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-24 14:06:57 -04:00
Matt Layher
8b8ac0e2e5
nixos/lib: incorporate mbim-network feedback
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-24 09:55:03 -04:00
Matt Layher
32e6b5631f
nixos/lib: new module for mbim-network
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-23 14:37:43 -04:00
Matt Layher
42c5244477
nixos/lib: renumber tengb0 to VLAN 110 format
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 22:15:44 -04:00
Matt Layher
d93398076f
nixos/routnerr-2: WIP WWAN configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 21:59:48 -04:00
Matt Layher
6c039ebd2e
nixos/lib: add matt to dialout group
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-22 21:24:13 -04:00
Matt Layher
eb9f64a8a5 Merge branch 'master' of github:mdlayher/homelab 2020-06-19 08:44:22 -04:00
Matt Layher
6e19742bac nixos/routnerr-2: add WWAN utilities, add minicom and unzip to lib 2020-06-19 08:44:04 -04:00
Matt Layher
9cb3778c03
nixos/servnerr-3: exclude HTPC from alerting
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:47:31 -04:00
Matt Layher
4fd972566a
nixos/servnerr-3: scrape theatnerr-1 windows_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:46:15 -04:00
Matt Layher
f97f63b8dd
nixos/lib: add theatnerr-1 host
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-15 13:41:58 -04:00
Matt Layher
693cca1e86
nix/routnerr-2: deduplicate dhcpd6 LANs list
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:58:19 -04:00
Matt Layher
4895bcd5fc
nix/routnerr-2: deduplicate dhcpd4 LANs list
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:55:25 -04:00
Matt Layher
f966896464
nixos/lib: add corp0 VLAN and configure on router
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 14:51:12 -04:00
Matt Layher
7c721af156
nixos/routnerr-2: use settings attribute list to configure CoreRAD
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 13:53:48 -04:00
Matt Layher
0aa6b16a9a
nixos/routnerr-2: explicitly import nixos-unstable-small
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 10:57:09 -04:00
Matt Layher
88904bc3ad
nixos/servnerr-3: explicitly import nixos-unstable-small
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-14 10:49:54 -04:00
Matt Layher
0d69c26839 nixos/servnerr-3: enable Prometheus admin API 2020-06-13 10:13:14 -04:00
Matt Layher
91b1d8b9d5
nixos/servnerr-3: upgrade to unstable Prometheus
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:43:23 -04:00
Matt Layher
f4ccb52e68
nixos/servnerr-3: move /var/lib/plex inside container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:29:50 -04:00
Matt Layher
e267fa1689
nixos/servnerr-3: bump SNMP exporter configuration to 0.18.0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:25:31 -04:00
Matt Layher
3467b63d52
nixos/servnerr-3: factor out Prometheus alerts, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 19:15:44 -04:00
Matt Layher
0b492dc489
nixos/servnerr-3: move containers into a new file
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:59:06 -04:00
Matt Layher
fa5d3beb81
nixos/servnerr-3: move Plex into a NixOS container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:55:58 -04:00
Matt Layher
d08e8f2584
nixos/routnerr-2: add apcupsd_exporter
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:41:23 -04:00
Matt Layher
c3182c889f
nixos/routnerr-2: change iot0 prefix delegation ID to standard number
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:38:06 -04:00
Matt Layher
2e84c66b8d
nixos/servnerr-3: enable and scrape apcupsd_exporter on server and router
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:34:48 -04:00
Matt Layher
cacf9fb68f
nixos/servnerr-3: keylight_exporter is now upstream
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:31:49 -04:00
Matt Layher
bacf50eb61
nixos/servnerr-3: factor out staticScrape Prometheus function
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 18:07:16 -04:00
Matt Layher
14477541a5
nixos/servnerr-3: convert blackbox_exporter config to Nix, nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 17:54:29 -04:00
Matt Layher
686cfcca6a Merge branch 'master' of github:mdlayher/homelab 2020-06-12 16:59:13 -04:00
Matt Layher
d3822057d3 nixos/lib: add gnumake 2020-06-12 16:59:09 -04:00
Matt Layher
d280009d02
nixos/servnerr-3: remove unifi SSH blackbox target
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-12 16:10:39 -04:00
Matt Layher
61c693252c
nixos/routnerr-2: CoreDNS no longer depends on wg0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-11 14:16:44 -04:00
Matt Layher
a997598aae Merge branch 'master' of github:mdlayher/homelab 2020-06-11 14:13:42 -04:00
Matt Layher
29d5ad0ff6
nixos/routnerr-2: add nftables to allow connections from remote UniFi devices
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-11 14:05:57 -04:00
Matt Layher
6af56202db
nixos/servnerr-3: run UniFi controller in container
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-10 16:34:37 -04:00
Matt Layher
80ba4ddd83
nixo/routnerr-2: do not advertise MTU on tengb0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-09 12:10:45 -04:00
Matt Layher
a438cd8405
nixos/servnerr-3: scrape apcupsd_exporter on nerr-3
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-08 09:37:52 -04:00
Matt Layher
57dec8fff9 nixos/servnerr-3: use MTU 9000 on 10GbE NIC 2020-06-07 11:02:58 -04:00
Matt Layher
0995678346
nixos/routnerr-2: set up CoreRAD upstream monitoring on wan0
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-07 11:01:33 -04:00
Matt Layher
1268d52557
nixos/servnerr-3: remove promlens shared links argument
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 13:53:21 -04:00
Matt Layher
479420fcdc nixos/routnerr-2: move alertmanager traefik backend 2020-06-06 12:18:01 -04:00
Matt Layher
beb1f99abf
nixos/servnerr-3: move Prometheus to server from Raspberry Pi
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 12:15:40 -04:00
Matt Layher
925462f4e1
nixos/servnerr-3: add /primary/vm ZFS filesystem
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 11:42:33 -04:00
Matt Layher
ead678a51f
nixos/routnerr-2: expose desktop IPv6 RTP through firewall
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-06 11:29:32 -04:00
Matt Layher
9d93b8c070 nixos/lib: install bandwhich 2020-06-06 10:04:44 -04:00
Matt Layher
4b2264de92
nixos/servnerr-3: add lab-corerad job, move existing alerts to prod job
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-03 11:37:40 -04:00
Matt Layher
50da252eef nixos/routnerr-2: skip production CoreRAD advertising on lab0 2020-06-03 11:23:22 -04:00
Matt Layher
3afeb76861 nixos/servnerr-3: fix Prometheus alert label 2020-06-01 14:32:10 -04:00
Matt Layher
4b61d093e6 nixos/servnerr-3: nixfmt Prometheus alerts 2020-06-01 14:11:04 -04:00
Matt Layher
763be23fcf
nixos/servnerr-3: add CoreRAD upstream monitoring alerts
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-06-01 14:10:17 -04:00
Matt Layher
b643fb4351
nixos/servnerr-3: fix Prometheus CoreRAD advertising interface status alert
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-31 20:21:24 -04:00
Matt Layher
5b50c2bb73
nixos/routnerr-2: nixfmt
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:15:06 -04:00
Matt Layher
1c86195c61
nixos/lib/vargen: template out WireGuard configuration
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:13:43 -04:00
Matt Layher
d7121b4df9 nixos/lib/vargen: WIP WireGuard support
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:02:21 -04:00
Matt Layher
d084bd881e Merge branch 'master' of github:mdlayher/homelab 2020-05-29 17:01:29 -04:00
Matt Layher
5879e84479
nixos/lib/vargen: move switch-office02 to management LAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-05-29 17:01:26 -04:00