mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-25 17:53:17 +01:00
17 lines
298 B
Nix
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
|