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 |
|
Matt Layher
|
6d343cab9d
|
nixos/lib/vargen: infer server and WAN addresses automatically
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-29 16:22:40 -04:00 |
|
Matt Layher
|
e39cbef56a
|
nixos/lib: move nerr-3 to 10GbE VLAN
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-29 12:17:31 -04:00 |
|
Matt Layher
|
56a49c51e6
|
nixos: move servnerr-3 to 10GbE LAN, prioritize 10GbE LAN in RAs
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-29 11:52:19 -04:00 |
|
Matt Layher
|
6760123bde
|
nixos/servnerr-3: bump keylight_exporter, 15s Prometheus scrape interval
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-28 16:49:03 -04:00 |
|
Matt Layher
|
21590239df
|
nixos/servnerr-3: enable 10GbE NIC
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-28 13:35:32 -04:00 |
|
Matt Layher
|
539e385af2
|
nixos/lib: add keylight_exporter, install on servnerr-3
|
2020-05-28 12:29:19 -04:00 |
|
Matt Layher
|
802b2a7884
|
nixos/lib/vargen: add Elgato Key Light
|
2020-05-25 20:37:53 -04:00 |
|
Matt Layher
|
73d7921b2a
|
nixos/servnerr-3: scrape switch-office02 SNMP
|
2020-05-25 20:31:19 -04:00 |
|
Matt Layher
|
a9368c0787
|
nixos/lib/vargen: add 10GbE switch
|
2020-05-25 20:14:53 -04:00 |
|
Matt Layher
|
3089041870
|
nixos/routnerr-2: fix tengb0 DHCPv6-PD ID
|
2020-05-25 20:11:54 -04:00 |
|
Matt Layher
|
30a0ecd88a
|
nixos/lib/vargen: new convention for VLAN >= 100
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 13:09:13 -04:00 |
|
Matt Layher
|
1cbb0f37b1
|
nixos/lib/vargen: add newSubnet helper
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 13:00:51 -04:00 |
|
Matt Layher
|
78154188a6
|
nixos/lib/vargen: remove ipv6Prefixes.MarshalJSON
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 12:44:29 -04:00 |
|
Matt Layher
|
d65445d858
|
lib/vargen: new location for eui64 package
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 12:41:15 -04:00 |
|
Matt Layher
|
ba2b575b5f
|
nixos/servnerr-3: nixfmt
|
2020-05-24 12:31:15 -04:00 |
|
Matt Layher
|
9746f3547b
|
nixos/routnerr-2: add tengb0 on VLAN 100
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 12:30:08 -04:00 |
|
Matt Layher
|
48c0c7c164
|
nixos/routnerr-2: add cmatrix
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 11:38:54 -04:00 |
|
Matt Layher
|
0488182975
|
nixos/routnerr-2: add lan0 VLAN for trusted devices
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-24 10:20:45 -04:00 |
|
Matt Layher
|
58fde819f1
|
nixos/servnerr-3: fix relabelTarget logic
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-21 11:15:10 -04:00 |
|
Matt Layher
|
b4dc963d4f
|
nixos/servnerr-3: add Prometheus alerts, force IPv4 AP SNMP scrape
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-19 18:35:41 -04:00 |
|
Matt Layher
|
322b7046bc
|
nixos: apply nixfmt
|
2020-05-19 08:51:49 -04:00 |
|
Matt Layher
|
e2f8d0edfa
|
nixos/routnerr-2: add promlens traefik backend
|
2020-05-19 08:51:13 -04:00 |
|
Matt Layher
|
b3465798da
|
nixos/servnerr-3: deploy promlens docker container
|
2020-05-19 08:37:42 -04:00 |
|
Matt Layher
|
b1ee541b9e
|
Merge branch 'master' of github:mdlayher/homelab
|
2020-05-17 21:07:00 -04:00 |
|
Matt Layher
|
2ee80b1851
|
nixos/lib: add smartmontools and xxd
|
2020-05-17 21:06:48 -04:00 |
|
Matt Layher
|
66eec3e3af
|
nixos/servnerr-3: nixfmt prometheus config
|
2020-05-17 21:06:35 -04:00 |
|
Matt Layher
|
3dc8dcea3e
|
nixos/servnerr-3: use latest Linux kernel for better hwmon, modprobe drivetemp
|
2020-05-17 21:06:22 -04:00 |
|
Matt Layher
|
b459b61a05
|
nixos/lib/vargen: bump inet.af/netaddr, use new API
Signed-off-by: Matt Layher <mdlayher@gmail.com>
|
2020-05-12 10:53:49 -04:00 |
|
Matt Layher
|
29eeb10344
|
nixos/servnerr-3: set ondemand CPU governor
|
2020-05-08 21:44:10 -04:00 |
|
Matt Layher
|
d476856acc
|
nixos/servnerr-3: add obs Prometheus job
|
2020-05-08 12:47:44 -04:00 |
|
Matt Layher
|
d764c73b7d
|
nixos/servnerr-3: retain Prometheus data for one year
|
2020-05-08 12:06:47 -04:00 |
|
Matt Layher
|
bfc2131052
|
nixos/servnerr-3: disable fwupd, no benefit and long compiles
|
2020-05-06 10:55:32 -04:00 |
|
Matt Layher
|
db06cce96c
|
lib/pkgs: bump wireguard_exporter
|
2020-05-01 11:04:08 -04:00 |
|