X-Git-Url: http://git.scottworley.com/nixos-qemu-vm-isolation/blobdiff_plain/7bd3b5bc2c943c637bee35b34a8555cb96279f49..68bdafb07183ce95311038842731769028f55712:/flake.nix diff --git a/flake.nix b/flake.nix index 757331d..71b4bef 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,7 @@ let inherit (nixpkgs.lib) genAttrs; - systems = nixpkgs.lib.systems.supported.tier1; + systems = import ./lib/tier1.nix nixpkgs; forAllSystems = genAttrs systems; @@ -13,8 +13,8 @@ qemu-vm-isolation = import ./modules/qemu-vm-isolation.nix; }; checks = forAllSystems (system: { - mount-grep = nixpkgs.legacyPackages."${system}".nixosTest - (import ./checks/mount-grep.nix); + mount-grep = nixpkgs.lib.nixos.runTest + (import ./checks/mount-grep.nix nixpkgs.legacyPackages."${system}"); }); }; }