Files
JakeHillion cd8f5ddcd0
commit-validation / validate-single-commit (pull_request) Successful in 12s
buildbot/nix-eval Build done. (451 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
ogygia: make ogygia-updated the fleet-wide updater
The ogygia-updated trial on maverick, warlock, and merlin is
complete, so it becomes the updater for every host. Previously the
rest of the fleet ran the legacy auto_updater timer and the
interactive update script, both of which would race the ogygia
daemon.

Enable ogygia.updated in ogygia.nix and remove the auto_updater and
shell update_scripts modules entirely. Hosts that rebooted for
kernel updates via auto_updater.allowReboot now set
ogygia.updated.settings.activate.allow_reboot, and the redundant
per-host overrides on the trial hosts are dropped.

Test plan:
- CI
- Evaluated maverick, warlock, fanboy, and viper toplevels successfully
2026-07-26 12:21:49 +01:00

48 lines
989 B
Nix

{ config, pkgs, lib, nixos-hardware, ... }:
{
imports = [
"${nixos-hardware}/raspberry-pi/4"
./hardware-configuration.nix
];
config = {
system.stateVersion = "23.11";
custom.defaults = true;
ogygia.nebula = {
groups = [ "legacy-full-access" ];
pubKey = ''
-----BEGIN NEBULA X25519 PUBLIC KEY-----
Qk1M4ogPm+jjfoxCBNz2/S053PHUPE76d6FEuA636VY=
-----END NEBULA X25519 PUBLIC KEY-----
'';
};
## Custom Services
ogygia.updated.settings.activate.allow_reboot = true;
custom.locations.autoServe = true;
## Run a persistent iperf3 server
services.iperf3.enable = true;
services.iperf3.openFirewall = true;
# Networking
networking.firewall = {
interfaces = {
"end0" = {
allowedTCPPorts = [
22 # SSH
7654 # Tang
];
allowedUDPPorts = [
4242 # Nebula Lighthouse
];
};
};
};
};
}