]> git.scottworley.com Git - nixos-qemu-vm-isolation/blob - flake.nix
355702e731c81ba8b89fc7f5178c22b68522c744
[nixos-qemu-vm-isolation] / flake.nix
1 {
2 outputs = { self, nixpkgs, }:
3 let
4 inherit (nixpkgs.lib) genAttrs;
5
6 systems = nixpkgs.lib.systems.supported.tier1;
7
8 forAllSystems = genAttrs systems;
9
10 in {
11 nixosModules = {
12 qemu-vm-isolation = import ./modules/qemu-vm-isolation.nix;
13 };
14 checks = forAllSystems (system: {
15 mount-grep = nixpkgs.legacyPackages."${system}".nixosTest
16 (import ./checks/mount-grep.nix);
17 });
18 };
19 }