X-Git-Url: http://git.scottworley.com/nixos-qemu-vm-isolation/blobdiff_plain/69619e0bcd198291d2e4f7a72ccd87d61a8d0bc9..ab670adac1c02e93e83cd7293f49bd12f9071877:/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}"); }); }; }