]> git.scottworley.com Git - nixos-qemu-vm-isolation/blame - flake.nix
Use a squashfs Nix Store rather than a virtio host mount
[nixos-qemu-vm-isolation] / flake.nix
CommitLineData
69619e0b
SW
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}