mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-24 17:23:09 +01:00
20 lines
300 B
Nix
20 lines
300 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
|