]> git.scottworley.com Git - nixos-qemu-vm-isolation/blame_incremental - flake.nix
Allow this to be used as a channel
[nixos-qemu-vm-isolation] / flake.nix
... / ...
CommitLineData
1{
2 inputs.nixpkgs.url = "github:NixOS/nixpkgs?ref=nixos-unstable";
3 outputs = { self, nixpkgs, }:
4 let
5 inherit (nixpkgs.lib) genAttrs;
6
7 systems = nixpkgs.lib.systems.supported.tier1;
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}