Commit Graph

47 Commits

Author SHA1 Message Date
Astro 32c0def45b config: nixify everything 2021-11-13 01:23:23 +01:00
Astro 01f37cec9f lib/dns: add extraRecords 2021-11-10 20:12:45 +01:00
Astro 71675556f2 lib/config: implement assertions and warnings 2021-11-07 02:43:56 +01:00
Astro 40e8b351d5 pkgs/ap.nix: migrate template to nix 2021-11-06 22:57:12 +01:00
Astro 001aaecf3a lib/config/options: rewrite getHostLinkNetworks et al 2021-11-06 03:38:01 +01:00
Astro e975d78504 lib/config: add config.site.sshPubKeys 2021-11-04 19:17:57 +01:00
Astro 9852920ee8 nix/lib/config: begin treating aps as manageable switches 2021-11-04 19:17:31 +01:00
Astro 3072e1e78c pkgs/switches: switch from salt to nix 2021-11-03 01:09:22 +01:00
Astro 2c3c0fa13c upstream: disable NAT reflection for DNS port forwards 2021-10-16 23:56:32 +02:00
Astro 5915d9a16a lib/config/options: doc 2021-09-19 02:18:17 +02:00
Astro 04de05ce75 lib/config/options: add missing staticIpv4Address default 2021-09-07 00:11:28 +02:00
Astro 1b4f761de8 nixos-module/container/upstream: fix SNAT by adding a staticIpv4Address option 2021-09-06 22:58:52 +02:00
Astro bd795b270a nixos-module/container/upstream/pppoe: init 2021-05-31 00:41:38 +02:00
Astro 24b36568ca options: add physicalInterfaces 2021-05-31 00:06:56 +02:00
Astro ef371b32c4 nixos-module/collectd: add starlink-stats 2021-05-23 23:16:28 +02:00
Astro cfb062063a nixos-module/container/upstream: fix DHCP for upstream3, upstream4 2021-05-22 01:19:16 +02:00
Astro 8c896c31b8 nixos-module/container/dns: init 2021-05-03 01:26:57 +02:00
Astro 03f755f841 nixos-module/container/upstream: provide NAT6 with noNat.subnets6 2021-05-01 01:14:54 +02:00
Astro d72789c35a /nixos-module/container/bird: use ospf instances not areas for sharing upstream 2021-04-30 23:55:16 +02:00
Astro 003a948ce2 lib/config: remove ospf.networks[46] 2021-04-30 23:37:53 +02:00
Astro 5c8fa22ca8 nixos-module/server/lxc-containers: add prebuilt containers 2021-04-30 22:38:57 +02:00
Astro 257e6686b9 nixos-module/container/bird: implement upstream failover 2021-04-29 01:44:48 +02:00
Astro 405acaf875 nixos-module/container/dnscache: init 2021-04-14 23:07:27 +02:00
Astro 1ee38b50b0 nixos-module/firewall: add for mgmt-gw, priv13-gw 2021-04-14 20:04:28 +02:00
Astro 5aa53fbcb1 nixos-module/container/bird: add bgp configuration 2021-04-13 00:46:12 +02:00
Astro aed29a54ce lib/config/options+legacy: add bgp 2021-04-13 00:11:42 +02:00
Astro f583833645 lib/config/options: fix isRouter logic 2021-04-12 22:35:02 +02:00
Astro 0eabf2dbf6 doc 2021-04-11 02:02:15 +02:00
Astro 010a5cfb97 lib/config/options: make isRouter depend on having an ipv4 address in core
prevents server2 from becoming a router
2021-04-11 02:02:15 +02:00
Astro 6eb8a1d24f lib/config/options: remove wg from interfaces 2021-04-11 02:02:15 +02:00
Astro ec6d26ab08 s/forwardedPorts/forwardPorts/ 2021-04-11 02:02:15 +02:00
Astro 436ceab45e nixos-module/container/anon: setup shaping 2021-04-11 02:02:15 +02:00
Astro c015497773 nixos-module/container/anon: setup wireguard 2021-04-11 02:02:15 +02:00
Astro 4e3fd3398b options.nix: set a default domainName 2021-04-11 02:02:15 +02:00
Astro b5210fa37d options.nix: move domainName 2021-04-11 02:02:15 +02:00
Astro c6de032ff3 nixos-module/container/upstream.nix: init dhcp, forwardedPorts 2021-04-11 02:02:15 +02:00
Astro 881f985450 nix/lib/config: add upstream, forwardedPorts, fix fixed-hosts 2021-04-11 02:02:15 +02:00
Astro 775b91fb18 dhcp-server.nix: add fixed-hosts 2021-04-11 02:02:15 +02:00
Astro df3ef74862 nixos-module/container/dhcp-server.nix: init 2021-04-11 02:02:15 +02:00
Astro 74c10c0446 config: add dhcpOpts, import from salt-pillar 2021-04-11 02:02:15 +02:00
Astro 260bc3aeb5 nixos-module/container/bird.nix: init for ospf 2021-04-11 02:02:15 +02:00
Astro 704f007ae5 nixos-module/network.nix: configure host IP 2021-04-11 02:02:15 +02:00
Astro b570447d01 nix/lib/config: add hosts4/6 options 2021-04-11 02:02:15 +02:00
Astro 020e8c3af2 nix: put interfaces in options 2021-04-11 02:02:15 +02:00
Astro a39bad4f85 nixosConfiguration with infinite recursion 2021-04-11 02:02:15 +02:00
Astro 171b213603 host roles 2021-04-11 02:02:15 +02:00
Astro 7b7745e376 lib: move into lib/config 2021-04-11 02:02:15 +02:00