]> git.scottworley.com Git - nixos-qemu-vm-isolation/blame - flake.nix
Offer option of an erofs nix store image
[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: {
ab670ada
SW
16 mount-grep = nixpkgs.lib.nixos.runTest
17 (import ./checks/mount-grep.nix nixpkgs.legacyPackages."${system}");
69619e0b
SW
18 });
19 };
20}