Files
nix-config/outputs/x86_64-linux/tests/k3s-node-home-manager/expr.nix
T
ryan4yin | 二花 c347bfe6a9 fix(k3s): drop Home Manager from the test workers (#432)
The worker MicroVMs ran `home-manager-ryan.service`, which failed on two of them
(`/nix/var/nix/temproots` permission denied, and no `/home/ryan`), so
`HostSystemdServiceCrashed` fired for days. Mirror the masters and extend their
regression test to all six nodes.

Assisted-by: DeepSeek Harness 0.2.0-rc.2 (deepseek-flash)
2026-10-11 19:48:14 +08:00

20 lines
349 B
Nix

{
lib,
myvars,
outputs,
}:
lib.genAttrs
[
"k3s-test-1-master-1"
"k3s-test-1-master-2"
"k3s-test-1-master-3"
"k3s-test-1-worker-1"
"k3s-test-1-worker-2"
"k3s-test-1-worker-3"
]
(
name:
builtins.hasAttr "home-manager-${myvars.username}"
outputs.nixosConfigurations.${name}.config.systemd.services
)