Commit Graph

182 Commits

Author SHA1 Message Date
9e7a7c9ee6 hydra: add harmonia on https://nix-serve.hq.c3d2.de 2022-09-25 22:04:59 +02:00
fb766a7d22 config/c3d2, modules/microvm-host: update outdated nix.settings 2022-09-22 02:08:17 +02:00
a2df57960d modules/microvm-host: let update-microvm handle more cases 2022-09-22 02:04:04 +02:00
5862adf9ed modules/microvm: refactor into modules/nomad-microvm 2022-09-22 02:04:04 +02:00
97e18154b1 modules/microvm: wiggle the nomad restart parameters 2022-09-21 21:26:45 +02:00
84d18b67eb modules/microvm: get hypervisors in nomad-jobs to shutdown gracefully 2022-09-21 21:26:45 +02:00
e492f5a724 modules/microvm: disable dhcpcd 2022-09-18 22:15:59 +02:00
ca3dd9729d modules/microvm: add defaultGateway for flpk 2022-09-18 01:44:49 +02:00
dd75a52d28
Move audio groups to audio module 2022-09-17 22:16:40 +02:00
3a85bcf059 modules/rpi-netboot: work around long stp forward delays in some switches 2022-09-16 23:13:31 +02:00
afc7a33eb5 modules/microvm-host: improve update-microvm behaviour 2022-09-16 00:11:00 +02:00
f2a17e6e83 modules/c3d2: make vector mqtt client_id unique 2022-09-13 01:48:25 +02:00
a68cf4d4c1 modules/c3d2: remove unnecessary journalToMqtt vector transform 2022-09-11 04:13:49 +02:00
3aa7960817 modules/c3d2: try to fix journalToMqtt topic 2022-09-09 01:17:29 +02:00
3eef152463 modules/c3d2: add c3d2.hq.journalToMqtt 2022-09-07 17:56:51 +02:00
999aefd931 modules/microvm: delete old tap iface on nomad prestart not poststop 2022-09-06 21:55:27 +02:00
5c493a8128 modules/autoupdate: always run nix-env before switch-to-configuration 2022-09-02 21:26:14 +02:00
1dbe3569b2
Allow diff-system to fail
When upgrading from older systems with nix 2.3.x the command is not yet
understood. Since it is purely informational a failure can be safely
ignored.
2022-08-21 22:44:05 +02:00
5a6d495f71 modules/microvm-host: add update-microvm command 2022-08-17 22:15:01 +02:00
ac2a9e2246 server9, server10: refactor into modules/microvm-host 2022-08-17 21:00:01 +02:00
4bdd221264 modules.cluster: nomad 1.3.1 -> 1.3.3 2022-08-15 23:38:20 +02:00
eab36bedff modules/cluste: add back wander 2022-07-19 20:59:53 +02:00
04b81dc85b
Revert "modules/cluster: install wander from nixos-unstable"
This reverts commit 45a66a2548.
2022-07-16 22:46:52 +02:00
222b41f5e2 modules/microvm: let nomad retry restarting 2022-07-16 03:11:41 +02:00
45a66a2548 modules/cluster: install wander from nixos-unstable 2022-07-15 18:47:18 +02:00
92f8103c6a modules/microvm: add stopTuntap to nomad jobs 2022-07-13 22:44:28 +02:00
b310506e98 modules/cluster: add damon 2022-07-12 01:17:10 +02:00
1b618f0cd8 modules/microvm: c3d2.deployment.server = "nomad" 2022-07-10 20:50:07 +02:00
69a47c0b7f
Give k-ot pulse-access group for system wide pulseaudio 2022-07-09 15:42:45 +02:00
1c06777f95 modules/autoupdate: only diff-closures on update not boot 2022-07-07 03:25:50 +02:00
e66181c341 move users.microvm.uid to cluster servers 2022-07-07 01:30:58 +02:00
08060dced9 improve nomad deployment 2022-07-07 01:21:39 +02:00
16c74bf177 modules/cluster: fix microvm on nomad 2022-07-05 03:15:17 +02:00
5707cd896f add nomad scripting 2022-07-05 00:08:03 +02:00
9170273a38 modules/cluster: join nomad instances over ipv4 2022-07-04 00:31:23 +02:00
e8a66709b7 modules/cluster: init glusterfs and nomad 2022-07-04 00:22:11 +02:00
2792bd107c stream: microvmify 2022-06-28 03:26:08 +02:00
7d7c78bdca
Nuke nix-serv and use hydra direct 2022-06-23 20:55:46 +02:00
869eca9f54 modules/microvm: take off the brakes 2022-06-19 03:08:48 +02:00
84d1789020 set microvm.vcpu 2022-06-19 03:05:53 +02:00
903e10ae99 disable autoUpdate in microvms 2022-06-18 04:24:15 +02:00
36c2a1e5a6 modules/cluster-network: disable IPv6 SLAAC 2022-06-18 02:09:58 +02:00
72b9c23686 modules/cluster-network: break outa server10 2022-06-18 00:55:45 +02:00
6508600c80 modules/microvm: implement c3d2.deployment.autoNetSetup 2022-06-17 23:23:08 +02:00
6be5862f97 remove dead code 2022-06-17 22:37:57 +02:00
dbc3e08961 nixosModules.microvm: init, and abstract existing microvms 2022-06-16 21:18:04 +02:00
41e52bb12b fixes 2022-06-13 15:58:25 +02:00
aaddec8194
The big format and cleanup 2022-06-12 17:26:32 +02:00
c042dd5c03
autoupdate: delete generations older than 21 days to not fill up the disks 2022-06-12 16:24:57 +02:00
53fce8e2c7
autoupdate: unify scripts, hardcode hostname from config 2022-06-12 16:24:44 +02:00
ceca35caff modules/rpi-netboot: automatically reboot on panic 2022-06-10 19:00:37 +02:00
66627bbe9d rpi-netboot: move r/o nix/store config 2022-06-09 02:02:44 +02:00
6ede6e89b0 dacbert: move nfsroot, remove separate /nix/store mount 2022-06-09 01:41:33 +02:00
7e11e77515 flake.nix: fix memory leak by reorganizing hydraJobs 2022-05-31 22:08:52 +02:00
79aaf76d3d modules/rpi-netboot: disable conflicting generic-extlinux-compatible.enable for nixos-22.05 2022-05-31 19:57:14 +02:00
a485d30c0b modules/autoupdate: add package diff to activationScripts 2022-04-20 00:32:23 +02:00
805e84f73f add hacks 2022-03-29 00:01:14 +02:00
Emery
af8c1e2c9a programs.nncp moved upstream 2022-03-28 12:39:24 -05:00
701c6892ac rpi-netboot: disable networkmanager 2022-03-17 23:41:09 +01:00
a3649184b9 rpi-netboot: add dtb, use linuxPackages_latest 2022-03-17 18:32:42 +01:00
b31c7e005a rpi-netboot: enable audio 2022-03-17 01:07:42 +01:00
1f511243da rpi-netboot: doc kernel, clean up initrd, disable deviceTree 2022-03-17 00:46:17 +01:00
6c38f4e4f1 dacbert: mount / via nfs
to store ssh host key :)
2022-03-17 00:24:23 +01:00
e8f1f0f404 dacbert: migrate to rpi-netboot 2022-03-17 00:24:05 +01:00
34c96c6768 nix-build: generate a tftproot 2022-03-16 23:16:02 +01:00
5a2202c9cd rpi-netboot: bump gpu_mem to 256 2022-03-16 22:37:52 +01:00
f6e8c5c888 rpi-netboot: add kernel modules for debugging 2022-03-16 21:50:41 +01:00
89909fa8e4 rpi-netboot: move tftproot from flake.nix into module 2022-03-16 21:50:20 +01:00
52c6add73e rpi-netboot: produce boot dir; nix-build: enable atftp+nfs 2022-03-16 20:38:00 +01:00
39c7a9bf1f modules/autoupdate: fix system 2022-02-08 19:33:35 +01:00
18b68306d0 modules/autoupdate: catch $NEW==null 2022-02-08 19:17:44 +01:00
a02e4625da Add nix import and export to nncp 2022-02-07 13:19:55 +01:00
6ee303cebc modules/autoupdate: add update-from-hydra script 2022-01-25 23:32:02 +01:00
3a521f7673 modules/autoupdate: use nix copy to fetch new system from cache 2022-01-23 01:20:15 +01:00
06f9033bdb Replace mapHqHosts and mapPublicHosts with mergeHostsFile 2022-01-18 23:19:02 +01:00
e36f00c428 modules/autoupdate: move from ../config/ 2022-01-18 22:12:41 +01:00
29da9eee7d Add c3d2.nncp options 2022-01-18 20:31:36 +01:00
732ae81533 Add NNCP module 2022-01-18 20:31:33 +01:00
84f896770e Refactor host registry 2022-01-16 13:26:37 +01:00
dd05418887 Refactor k-ot user 2022-01-16 12:31:43 +01:00
c2fbfef90f Reduce users to attrset of ssh keys 2022-01-16 12:31:43 +01:00
f066f4cb82 Split "lib" into "config" and "modules"
Separate modules that add options from modules that change
configuration.
2022-01-15 21:04:38 +01:00