nix-config/lib/test.nix

20 lines
300 B
Nix
Raw Normal View History

test:
{ self, pkgs }:
let
inherit (pkgs.lib) mkDefault;
2024-04-06 01:01:41 +02:00
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