ci: strengthen NixOS checks

This commit is contained in:
2026-07-14 19:49:56 +09:00
parent b5c49ffa79
commit 7f47448980
7 changed files with 169 additions and 146 deletions
+11 -3
View File
@@ -47,9 +47,8 @@ let
;
};
};
in
{
flake.nixosConfigurations = {
nixosConfigurations = {
nix-example = mkSystem {
host = "nix-example";
system = "x86_64-linux";
@@ -102,4 +101,13 @@ in
};
};
};
in
{
flake = {
inherit nixosConfigurations;
checks.x86_64-linux = lib.mapAttrs' (
name: nixos: lib.nameValuePair "nixos-${name}" nixos.config.system.build.toplevel
) nixosConfigurations;
};
}
+2
View File
@@ -9,6 +9,8 @@
"${modulesPath}/installer/cd-dvd/installation-cd-minimal.nix"
];
boot.zfs.forceImportRoot = false;
networking = {
hostName = "nixos-installer";