Files
cc-ci/hosts/cc-ci/hardware.nix
autonomic-bot 9bffb55b28 M0: flake + base NixOS config, rebuilt from repo on cc-ci
Pins nixpkgs to the rev cc-ci already ran (no-op-then-base); deploy via
switch --flake on-host. System healthy (gen 3) post-switch.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-26 21:25:48 +01:00

22 lines
628 B
Nix

# Hardware / platform for cc-ci: an Incus VM (x86_64) on the autonomic infra.
# Mirrors the pre-flake baseline (docs/baseline.md).
{ modulesPath, ... }:
{
imports = [
"${modulesPath}/virtualisation/incus-virtual-machine.nix"
];
# incus-agent for `incus exec`
virtualisation.incus.agent.enable = true;
# cloud-init seeded the VM (network + /etc/ts-* files); keep it enabled.
services.cloud-init = {
enable = true;
network.enable = true;
};
# DHCP from the incus bridge; bridge provides no resolver, so set our own.
networking.useDHCP = true;
networking.nameservers = [ "1.1.1.1" "8.8.8.8" ];
}