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

151 commits

Author SHA1 Message Date
Matt Layher
1ff337676e nixos: add media packages 2022-02-16 08:04:37 -05:00
Matt Layher
6917ba063e
nixos/lib/vargen: device updates
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-02-14 10:08:23 -05:00
Matt Layher
90fcd56519
nixos/lib: add gptfdisk to system
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2022-02-09 12:54:32 -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
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
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
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
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
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
57dbe41037
nixos/servnerr-3: enable Minecraft
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2021-10-29 00:21:05 -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
e1e8836ef5 nixos/routnerr-2: upgrade to 21.05 2021-06-02 07:41:36 -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
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
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
b3bd77a01b nixos/lib: move nerr-3 to management VLAN 2021-04-21 20:09:48 -04:00
Matt Layher
5e9a5965b1 nixos/lib: move servnerr-3 to infrastructure LAN 2021-04-18 11:15:21 -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
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
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
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
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
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
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
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
17a396a2f8 nixos/servnerr-3: rename interface, add lsscsi 2020-07-25 22:48:25 -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
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
9e1d7d86fe
nixos/lib: install nmon
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-07-09 14:20:44 -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
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
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
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
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
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
6e19742bac nixos/routnerr-2: add WWAN utilities, add minicom and unzip to lib 2020-06-19 08:44:04 -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
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
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
d3822057d3 nixos/lib: add gnumake 2020-06-12 16:59:09 -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
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
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
a9368c0787 nixos/lib/vargen: add 10GbE switch 2020-05-25 20:14:53 -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
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
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
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
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
db06cce96c lib/pkgs: bump wireguard_exporter 2020-05-01 11:04:08 -04:00
Matt Layher
6fdca2b235 lib: add wireguard_exporter package and module 2020-04-30 18:41:46 -04:00
Matt Layher
5ee4bc000f nixos: nixfmt 2020-04-28 14:12:30 -04:00
Matt Layher
e57c3c99ea
nixos/lib/vargen: Go program to generate vars.nix data
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-04-28 14:08:59 -04:00
Matt Layher
973ef00bc9 nixos/lib: move vars, add lan0 subnets 2020-04-28 09:22:01 -04:00
Matt Layher
96b37fc7d5 nixos/lib: set matt password hash, force immutable users 2020-04-28 09:05:51 -04:00
Matt Layher
3a68ac4c22 nixos/lib: install mtr 2020-04-27 15:24:28 -04:00
Matt Layher
c600b142a0 nixos/routnerr-2: apply nix-linter fixes 2020-04-27 14:27:17 -04:00
Matt Layher
3db2306840 nixos/lib: add nix-linter package 2020-04-27 14:12:18 -04:00
Matt Layher
a6fadc654b nixos/lib: factor out node exporter configuration 2020-04-26 14:43:21 -04:00
Matt Layher
0a2663fb3e nixos/lib: factor out nix configuration 2020-04-26 11:59:10 -04:00
Matt Layher
604cc01ad9 nixos/lib: factor out common system packages 2020-04-26 11:55:40 -04:00
Matt Layher
6bbf22c32f nixos/lib: factor out base system configuration 2020-04-26 11:50:56 -04:00
Matt Layher
75d0f8af07 nixos/lib: factor out matt user configuration 2020-04-26 11:42:29 -04:00