nix-config/lib/test.nix
2024-04-09 08:02:31 -04:00

17 lines
298 B
Nix

test: { self, pkgs }:
let
inherit (pkgs.lib) mkDefault;
nixos-lib = import (pkgs.path + "/nixos/lib") { };
in
(nixos-lib.runTest {
imports = [ test ];
hostPkgs = pkgs;
defaults.documentation.enable = mkDefault false;
node.specialArgs = {
nix-config = self;
};
}).config.result