nix: add runner images outputs

This commit is contained in:
every.channel 2026-02-17 02:00:26 -08:00
parent 2e5fb0880f
commit 7719b0b763
No known key found for this signature in database
5 changed files with 232 additions and 1 deletions

29
nix/nixos/ec-runner.nix Normal file
View file

@ -0,0 +1,29 @@
{ lib, pkgs, ... }:
{
imports = [
../modules/ec-node.nix
../modules/ec-runner.nix
];
services.every-channel.runner.enable = true;
# This is a role image; avoid baking per-host secrets/keys. SSH host keys will be
# generated at first boot by NixOS defaults.
networking.hostName = lib.mkDefault "ec-runner";
time.timeZone = lib.mkDefault "UTC";
# Basic hygiene for unattended boxes.
services.openssh.settings.PasswordAuthentication = false;
services.openssh.settings.KbdInteractiveAuthentication = false;
# Enable serial console logs where possible (helps in headless bring-up).
boot.kernelParams = [
"console=tty0"
];
# Required by NixOS.
system.stateVersion = "24.11";
}