1
1
Fork 1
mirror of https://github.com/oddlama/nix-config.git synced 2025-10-11 07:10:39 +02:00
Commit graph

288 commits

Author SHA1 Message Date
oddlama
777d803b76
feat: add module to allow extending configuration of other nodes 2023-06-12 00:20:30 +02:00
oddlama
91306427ba
refactor: move vm definitions to own files 2023-06-11 14:42:20 +02:00
oddlama
d4b7051091
chore: refactor minimal neovim definition 2023-06-11 14:42:01 +02:00
oddlama
4abefb0811
fix: wireguard generator pipe issue 2023-06-10 02:00:08 +02:00
oddlama
e61c82ebfc
feat: generate caddy basic auth passwords using agenix-rekey 2023-06-10 00:52:17 +02:00
oddlama
cfb7c88862
feat: remove generate-wireguard-keys in favor of agenix-rekey generators 2023-06-09 23:21:18 +02:00
oddlama
dec790c589
chore: update to new agenix-rekey format 2023-06-07 19:48:15 +02:00
oddlama
972b0456da
chore: use flushBeforeStage2=true to avoid networking issues; fix loki listen address 2023-06-06 01:04:39 +02:00
oddlama
90499504b5
chore: nixpkgs bug flushBeforeStage2 required 2023-06-05 21:05:04 +02:00
oddlama
8c9fb505f8
feat: add basic auth for loki 2023-06-05 20:55:18 +02:00
oddlama
1e6927a434
chore: remove old nginx and oauth2-proxy config for sentinel 2023-06-05 01:54:40 +02:00
oddlama
9e4f8dcf0d
feat: convert sentinel to caddy 2023-06-05 01:53:38 +02:00
oddlama
6f84594c87
feat: add customizable caddy package (with plugin support) 2023-06-05 01:14:46 +02:00
oddlama
c5a863ce51
wip: prepare testing caddy over nginx with oauth2-proxy 2023-06-04 21:42:28 +02:00
oddlama
7f2f93b640
feat: loki working 2023-06-04 02:27:40 +02:00
oddlama
70203d485a
feat(microvms): use systemd in stage1 2023-06-03 20:17:38 +02:00
oddlama
0cc126fb5f
feat: wip: test loki 2023-06-03 17:52:48 +02:00
oddlama
b0e9978ead
chore: add separate /state directory for reboot-persistent non-backuped state 2023-06-03 17:50:54 +02:00
oddlama
ba1932d2ef
fix: let kea wait on the macvtap self interface 2023-06-03 17:47:50 +02:00
oddlama
d2b2f4021a
chore: add new wireguard secrets for loki vm 2023-06-03 17:47:05 +02:00
oddlama
bd803c5976
feat(microvm): remove VM ids in favor of automatically assigned MACs 2023-06-03 17:46:12 +02:00
oddlama
135528e082
feat: add grafana test setup with oauth2 2023-06-02 01:28:35 +02:00
oddlama
a7c1fb016b
fix(microvms): fix ensure chmod failure 2023-06-01 17:01:18 +02:00
oddlama
df2657bb1c
feat(ward): open kanidm port only for sentinel 2023-06-01 01:33:13 +02:00
oddlama
c1fe238c75
fix: move PersistentKeepalive from server to client in case the ip address changes 2023-06-01 01:24:03 +02:00
oddlama
836dfa9fea
fix: add interface naming rules in stage1 udev 2023-06-01 01:08:06 +02:00
oddlama
7ddb0ee23f
fix: add server endpoint to wireguard via clients 2023-06-01 01:07:42 +02:00
oddlama
6cedaa53e6
chore: bind kanidm to proxy 2023-05-31 18:07:07 +02:00
oddlama
ef03fd0594
feat: activate acme on sentinel 2023-05-31 18:06:53 +02:00
oddlama
4fd369f034
fix: missing concatMap in wireguard allowed address calculation 2023-05-31 18:06:25 +02:00
oddlama
dc450f4b54
chore: updated microvm.nix flake doesn't need manually specifying microvm.microvm anymore 2023-05-31 18:05:51 +02:00
oddlama
6672846d59
feat: modularize hetzner-cloud and odroid-n2plus hardware 2023-05-31 16:34:13 +02:00
oddlama
61d582f033
feat: add ability to copy installer scripts to existing live systems 2023-05-30 02:46:29 +02:00
oddlama
ece9554e76
chore: remove initrd host key generation script, this is a simple oneliner anyways 2023-05-30 02:45:39 +02:00
oddlama
04305e5968
chore: only generate installers for real systems, not vms. 2023-05-30 02:43:43 +02:00
oddlama
ca7bbeec72
chore: add secrets for sentinel 2023-05-29 21:51:23 +02:00
oddlama
8c4b0933b9
chore: update flake inputs (nixpkgs override is for instanced-systemd-services activation restart fix) 2023-05-29 16:21:10 +02:00
oddlama
2d618a28ad
fix: only generate mdns zone if necessary 2023-05-29 16:20:36 +02:00
oddlama
97cb4e0ac5
feat: add new machine "sentinel", a Hetzner Cloud server 2023-05-29 16:19:49 +02:00
oddlama
d18e86f981
chore: use auto-ip for microvms, change ipv6 address scheme 2023-05-29 02:13:35 +02:00
oddlama
c789e2de36
feat(wireguard): add ability to automatically assign addresses 2023-05-29 00:07:56 +02:00
oddlama
4e8103af47
wip: prepare for autogenerated wireguard ips; prepare for sentinel server 2023-05-28 01:05:23 +02:00
oddlama
05813fafb4
chore: refactor assignIps as cidr library function that returns ips 2023-05-28 00:17:55 +02:00
oddlama
1a0225336f
feat: add assignIps function that generates semi-stable ips for a list of
hostnames by (ab-)using hashes with linear probing. Useful for automatic
ip assignments in wireguard.
2023-05-27 23:28:50 +02:00
oddlama
21e88619b7
fix: need attrset in config.lib, fix typo in nftables rule 2023-05-27 02:28:20 +02:00
oddlama
41df399bb6
feat: automatically generate allowedTCPPorts for mdns enabled
interfaces; simplify nftables rules by adding a general untrusted zone
2023-05-27 01:59:28 +02:00
oddlama
e37601b486
feat: switch to DHCP based networking for microvms using mDNS for resolution 2023-05-26 01:21:26 +02:00
oddlama
0e3d881887
feat: experiment with kanidm and acme dns-01. add common conditional locations to impermanence 2023-05-25 01:57:16 +02:00
oddlama
668f9fdaf4
fix: it's beneficial to use commonImports instead of just defining it :) 2023-05-24 00:21:32 +02:00
oddlama
cc2397669d
feat: allow microvms to override configPath 2023-05-23 01:09:37 +02:00