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)
This commit is contained in:
ryan4yin | 二花 authored and GitHub committed 2026-10-11 19:48:14 +08:00
1 parent 2f6f2b6926
commit c347bfe6a9
9 files changed
+7 -19

No files matched your search

-3
View File
@@ -1,3 +0,0 @@
{
imports = [ ../../linux/core.nix ];
}
-3
View File
@@ -1,3 +0,0 @@
{
imports = [ ../../linux/core.nix ];
}
-3
View File
@@ -1,3 +0,0 @@
{
imports = [ ../../linux/core.nix ];
}
+1 -1
View File
@@ -49,7 +49,7 @@ them. Others name specific hosts and only cover a new host if you add it.
| Kind | Tests |
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Every configuration | `hostname`, `kernel`, `nix-system-features`, `security-apparmor`, `security-container-groups`, `security-exporters`, `security-firewall`, `security-k3s-kubeconfig`, `security-k3s-pod-firewall`, `security-kernel`, `security-ssh-x11` |
| Named hosts only | `btrbk`, `home-manager`, `home-manager-xdg`, `computer-use-headless`, `k3s-api-endpoint`, `k3s-master-home-manager`, `idols-ai-gpu`, `idols-ai-voice-input`, `security-postgres-auth`, `youko-metrics`, `ups-metrics`, `shoukei-logind` |
| Named hosts only | `btrbk`, `home-manager`, `home-manager-xdg`, `computer-use-headless`, `k3s-api-endpoint`, `k3s-node-home-manager`, `idols-ai-gpu`, `idols-ai-voice-input`, `security-postgres-auth`, `youko-metrics`, `ups-metrics`, `shoukei-logind` |
`hostname` expects each configuration's `networking.hostName` to equal its name. Niri desktop
configurations are the exception (`ai-niri` → `ai`, `shoukei-niri` → `shoukei`) and are listed in
@@ -26,9 +26,6 @@ let
inputs.microvm.nixosModules.microvm
{ modules.secrets.server.kubernetes.enable = true; }
];
home-modules = map mylib.relativeToRoot [
"home/hosts/linux/${name}.nix"
];
};
systemArgs = modules // args;
@@ -26,9 +26,6 @@ let
inputs.microvm.nixosModules.microvm
{ modules.secrets.server.kubernetes.enable = true; }
];
home-modules = map mylib.relativeToRoot [
"home/hosts/linux/${name}.nix"
];
};
systemArgs = modules // args;
@@ -26,9 +26,6 @@ let
inputs.microvm.nixosModules.microvm
{ modules.secrets.server.kubernetes.enable = true; }
];
home-modules = map mylib.relativeToRoot [
"home/hosts/linux/${name}.nix"
];
};
systemArgs = modules // args;
@@ -3,4 +3,7 @@ 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"
] (_: false)
@@ -8,6 +8,9 @@ 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: