Files
nix-config/hosts/12kingdoms-shoryu/default.nix
T
ryan4yin | 二花 f3b741f5a0 feat(builders): enable aquamarine on remaining physical hosts (#500)
Enable the existing remote-builder module on shoryu, shushou and
youko, and authorize their SSH host keys on aquamarine.

Kana and Ruby are VM guests with no need to build; leave their local
store and build behavior unchanged.

Assisted-by: DeepSeek Harness (deepseek-flash)
2026-11-01 04:44:43 -06:00

39 lines
907 B
Nix

{
lib,
pkgs,
mylib,
myvars,
disko,
...
}:
let
# MoreFine - S500Plus
hostName = "shoryu"; # Define your hostname.
coreModule = mylib.genVmHostModule {
inherit pkgs hostName;
inherit (myvars) networking;
};
in
{
imports = (mylib.scanPaths ./.) ++ [
disko.nixosModules.default
../k8s/disko-config/host-disko-fs.nix
./hardware-configuration.nix
./preservation.nix
coreModule
];
# Use the shared Aquamarine builder for heavy derivations; local builds
# remain available as a fallback.
modules.remote-builders.enable = true;
modules.btrbk.enable = true;
modules.security.audit.enable = true;
# MoreFine S500Plus: Radeon iGPU. The ROCm build of btop shows the GPU panel;
# node_exporter's drm collector exposes its utilization/VRAM.
modules.btop.package = pkgs.btop-rocm;
services.prometheus.exporters.node.enabledCollectors = [ "drm" ];
}