2023-01-11 00:02:22 +03:00
|
|
|
{ withSystem, inputs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
flake.checks.x86_64-linux = withSystem "x86_64-linux" ({ pkgs, system, inputs', config, ... }:
|
|
|
|
let
|
|
|
|
testInputs = {
|
|
|
|
inherit pkgs;
|
|
|
|
inherit (inputs.disko.nixosModules) disko;
|
2023-02-01 21:49:46 +03:00
|
|
|
nixos-anywhere = config.packages.nixos-anywhere;
|
2023-01-11 00:02:22 +03:00
|
|
|
kexec-installer = "${inputs'.nixos-images.packages.kexec-installer-nixos-unstable}/nixos-kexec-installer-${system}.tar.gz";
|
|
|
|
};
|
|
|
|
in
|
|
|
|
{
|
|
|
|
from-nixos = import ./from-nixos.nix testInputs;
|
|
|
|
from-nixos-with-sudo = import ./from-nixos-with-sudo.nix testInputs;
|
|
|
|
});
|
|
|
|
}
|