]> git.scottworley.com Git - nixos-qemu-vm-isolation/blame - flake.nix
23.05: New way to get the list of tier1 systems
[nixos-qemu-vm-isolation] / flake.nix
CommitLineData
69619e0b 1{
7bd3b5bc 2 inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
69619e0b
SW
3 outputs = { self, nixpkgs, }:
4 let
5 inherit (nixpkgs.lib) genAttrs;
6
efbc4a2f 7 systems = import ./lib/tier1.nix nixpkgs;
69619e0b
SW
8
9 forAllSystems = genAttrs systems;
10
11 in {
12 nixosModules = {
13 qemu-vm-isolation = import ./modules/qemu-vm-isolation.nix;
14 };
15 checks = forAllSystems (system: {
16 mount-grep = nixpkgs.legacyPackages."${system}".nixosTest
17 (import ./checks/mount-grep.nix);
18 });
19 };
20}