X-Git-Url: http://git.scottworley.com/nixos-qemu-vm-isolation/blobdiff_plain/69619e0bcd198291d2e4f7a72ccd87d61a8d0bc9..68bdafb07183ce95311038842731769028f55712:/flake.nix diff --git a/flake.nix b/flake.nix index 355702e..71b4bef 100644 --- a/flake.nix +++ b/flake.nix @@ -1,9 +1,10 @@ { + inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable"; outputs = { self, nixpkgs, }: let inherit (nixpkgs.lib) genAttrs; - systems = nixpkgs.lib.systems.supported.tier1; + systems = import ./lib/tier1.nix nixpkgs; forAllSystems = genAttrs systems; @@ -12,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}"); }); }; }