Commit Graph

145 Commits

Author SHA1 Message Date
8bdeedea9a nixos-module/container/upstream: style 2021-04-11 02:02:15 +02:00
9615317bf6 nixos-module/container/upstream: enable dhcpv6 prefix delegation 2021-04-11 02:02:15 +02:00
0ea6f38867 nixos-module/network: make IPForward depend on isRouter 2021-04-11 02:02:15 +02:00
1ddb9b6ac4 nixos-module/collectd: fix TypesDB syntax 2021-04-11 02:02:15 +02:00
d200cecb79 nixos-module/collectd: fix TypesDB 2021-04-11 02:02:15 +02:00
494715acfe nixos-module/collectd: fix TypesDB src 2021-04-11 02:02:15 +02:00
cc5222e85b nixos-module/collectd: install additional TypesDB 2021-04-11 02:02:15 +02:00
662261bbd9 nixos-module/container/bird: set radvd prefix 2021-04-11 02:02:15 +02:00
df4c9f35b3 legacy.nix: change gw4+gw6 to cls-gw 2021-04-11 02:02:15 +02:00
f5f62aa82a legacy.nix: remove server1 2021-04-11 02:02:15 +02:00
aba9251f80 nixos-module/collectd: init 2021-04-11 02:02:15 +02:00
d5f7aecba6 nixos-module/server/lxc-containers: use switch-to-configuration in ExecReload 2021-04-11 02:02:15 +02:00
421dba52fc nixos-module/defaults: remove nix.registry.zentralwerk-network
this will be checked out locally
2021-04-11 02:02:15 +02:00
79fa9127b7 nixos-module/container/bird: fix ospfv3 auth 2021-04-11 02:02:15 +02:00
fcc3fbaf52 nixos-module/container/upstream: fix nat 2021-04-11 02:02:15 +02:00
daa7bef9d5 nixos-module/container/bird: add radv 2021-04-11 02:02:15 +02:00
e9a2092608 nixos-module/defaults: prevent bond0 autocreation 2021-04-11 02:02:15 +02:00
498970035a nixos-module/defaults: install bmon 2021-04-11 02:02:15 +02:00
93115c048b nixos-module/container/anon: make shorter 2021-04-11 02:02:15 +02:00
69c2823694 nixos-module/container/bird: disable ospfv3 password for now 2021-04-11 02:02:15 +02:00
11d6a80317 nixos-module/network: enable forwarding 2021-04-11 02:02:15 +02:00
8807ce4435 nixos-module/container/anon: route 2021-04-11 02:02:15 +02:00
55fccbb4e0 nixos-module/container/anon: fix key service order 2021-04-11 02:02:15 +02:00
436ceab45e nixos-module/container/anon: setup shaping 2021-04-11 02:02:15 +02:00
0a03be1469 nixos-module/container/anon: setup wireguard 2021-04-11 02:02:15 +02:00
b81923a444 nixos-module/defaults: set kernel paremeters/version 2021-04-11 02:02:15 +02:00
bafa33b229 lxc-containers.nix: refactor with imperative build-container script 2021-04-11 02:02:15 +02:00
c015497773 nixos-module/container/anon: setup wireguard 2021-04-11 02:02:15 +02:00
dbe5a867a7 nixos-module/server/network: attach vlan interfaces to bridges 2021-04-11 02:02:15 +02:00
276bb732c7 nixos-module/server/network: disable all addresses on bridges to make networkd happy 2021-04-11 02:02:15 +02:00
7da882f324 nixos-module/server/network: enable proper lacp 2021-04-11 02:02:15 +02:00
9fe5709976 lxc-containers: add experimental lxc-reload on system change 2021-04-11 02:02:15 +02:00
fd8cb77b40 nixos-module/server/network: load iptables, open ssh 2021-04-11 02:02:15 +02:00
dde0533e90 nix/lib/config: fix net name 2021-04-11 02:02:15 +02:00
f173d13dd7 lxc-containers: wiggle dependency on network.target 2021-04-11 02:02:15 +02:00
54a061f565 lxc-containers.nix: rm outdated TODO 2021-04-11 02:02:15 +02:00
953e43fa4a nixos-module/container/mgmt-gw: init 2021-04-11 02:02:15 +02:00
afad6f46b8 nixos-module/container/defaults: disable nix-daemon 2021-04-11 02:02:15 +02:00
4e3fd3398b options.nix: set a default domainName 2021-04-11 02:02:15 +02:00
2e2d8c976d server2.nix: hack in 2021-04-11 02:02:15 +02:00
53cbe8e74b lxc-containers.nix: start with non-ephemeral rootfs 2021-04-11 02:02:15 +02:00
7615d4d8de nixos-module/container/upstream.nix: setup sched_cake 2021-04-11 02:02:15 +02:00
e9d4f1192f nixos-module/defaults.nix: disable documentation, add more systemPackages, optimize qemu settings 2021-04-11 02:02:15 +02:00
b5210fa37d options.nix: move domainName 2021-04-11 02:02:15 +02:00
c6de032ff3 nixos-module/container/upstream.nix: init dhcp, forwardedPorts 2021-04-11 02:02:15 +02:00
ac8c771375 nix/pkgs: specify meta.mainProgram for vm-packages
enables `nix run .#server1-vm`
2021-04-11 02:02:15 +02:00
881f985450 nix/lib/config: add upstream, forwardedPorts, fix fixed-hosts 2021-04-11 02:02:15 +02:00
775b91fb18 dhcp-server.nix: add fixed-hosts 2021-04-11 02:02:15 +02:00
df3ef74862 nixos-module/container/dhcp-server.nix: init 2021-04-11 02:02:15 +02:00
c34e2e72c2 nix/pkgs: build *-vm packages 2021-04-11 02:02:15 +02:00
a9336c4513 lxc-containers.nix: s/stdenv.shell/runtimeShell/ 2021-04-11 02:02:15 +02:00
ea515088b3 lxc-containers.nix: get working 2021-04-11 02:02:15 +02:00
74c10c0446 config: add dhcpOpts, import from salt-pillar 2021-04-11 02:02:15 +02:00
9afc25d6c3 nixos-module/defaults.nix: add more tools 2021-04-11 02:02:15 +02:00
454566755b legacy: add forceVeth hack for unrelated problem 2021-04-11 02:02:15 +02:00
3d2cfa4e8a legacy: implement "*" for salt-pillar lookup 2021-04-11 02:02:15 +02:00
37dd4550bb nixos-modules/server/lxc-containers.nix: build rootfs before starting container 2021-04-11 02:02:15 +02:00
2c9d5c085a nixos-module/defaults: setup nix.registry 2021-04-11 02:02:15 +02:00
8a5f17806d nixos-module/network.nix: fix gw4 2021-04-11 02:02:15 +02:00
58f8441a1e nixos-module/defaults: set system.stateVersion 2021-04-11 02:02:15 +02:00
260bc3aeb5 nixos-module/container/bird.nix: init for ospf 2021-04-11 02:02:15 +02:00
704f007ae5 nixos-module/network.nix: configure host IP 2021-04-11 02:02:15 +02:00
46c16e4413 lxc-containers.nix: fix interface names 2021-04-11 02:02:15 +02:00
b570447d01 nix/lib/config: add hosts4/6 options 2021-04-11 02:02:15 +02:00
59c61fb42f nixos-module/server/lxc-containers.nix: add systemd target 2021-04-11 02:02:15 +02:00
511b4df85e nixos-module/network.nix: add defaults 2021-04-11 02:02:15 +02:00
7109ae50cb server/network.nix: setup vlan/bridge infra 2021-04-11 02:02:15 +02:00
9d7d383740 nixos-module: mkdir server container 2021-04-11 02:02:15 +02:00
38c6344adf rm obsolete comments 2021-04-11 02:02:15 +02:00
020e8c3af2 nix: put interfaces in options 2021-04-11 02:02:15 +02:00
465a316192 nixos-module/lxc-containers: begin netConfig 2021-04-11 02:02:15 +02:00
681ac0ab5d move rootfs nixos-module to nix/pkgs 2021-04-11 02:02:15 +02:00
d1cca3b029 nixos-powered lxc container 2021-04-11 02:02:15 +02:00
c04ca49755 nix: fix infinite recursion by passing hostName as module arg 2021-04-11 02:02:15 +02:00
0a5ebd7f49 nixos-module: break by setting config 2021-04-11 02:02:15 +02:00
72830ddc21 Remove "rec" from flake output 2021-04-11 02:02:15 +02:00
a39bad4f85 nixosConfiguration with infinite recursion 2021-04-11 02:02:15 +02:00
84723105f3 nix/lib/default.nix: reorder 2021-04-11 02:02:15 +02:00
3aedafe119 nix/lib/salt-support: implement saltPillarFor by hostName 2021-04-11 02:02:15 +02:00
171b213603 host roles 2021-04-11 02:02:15 +02:00
99edf9fe53 salt-pillar: remove decryptMessage trace 2021-04-11 02:02:15 +02:00
3923b5fecd gpgKey: fix'n'update 2021-04-11 02:02:15 +02:00
67298b919e zentralwerk-network-key as flake input 2021-04-11 02:02:15 +02:00
d364011f62 nix/key: init empty default 2021-04-11 02:02:15 +02:00
1119f72162 nix/nixos-modules -> nix/nixos-module 2021-04-11 02:02:15 +02:00
ce4bda8862 nix/pkgs/default: init, add export-config 2021-04-11 02:02:15 +02:00
d2a3d8a3c6 device-templates.nix: futile decryption attempts 2021-04-11 02:02:15 +02:00
1e0201b429 config: remove yaml-gpg.rb again
this approach required the gpg privkey all time
2021-04-11 02:02:15 +02:00
f15bb721d2 pkgs/device-templates.nix: update 2021-04-11 02:02:15 +02:00
7b7745e376 lib: move into lib/config 2021-04-11 02:02:15 +02:00
bf06bbe809 mv nix config stuff to nix/lib 2021-04-11 02:02:15 +02:00
133798c601 flake, nixos-modules: init 2021-04-11 02:02:15 +02:00
bf297cd5d7 nix: add subnet 2021-04-11 02:02:15 +02:00
b1fddd0ba7 nix: generate device scripts 2021-04-11 02:02:15 +02:00
c23ebe64d2 nix: evaluating/parsing/decrypting the pillar for nix options 2021-04-11 02:02:15 +02:00