nixos-config/tests/lib/default.nix
Gabriel Arazas 0c78d7b32b
tests/lib: init
WE NOW HAVE TESTS ~3 YEARS INTO DEVELOPMENT, BOI!
2024-03-03 16:43:18 +08:00

21 lines
511 B
Nix

{ pkgs }:
let
inherit (pkgs) lib;
foodogsquaredLib = (import ../../lib { inherit pkgs; }).extend (final: prev:
let
callLib = file: import file { inherit pkgs lib; self = prev; };
in
{
nixos = callLib ../../lib/nixos.nix;
home-manager = callLib ../../lib/home-manager.nix;
nixvim = callLib ../../lib/nixvim.nix;
});
callLib = file: import file { inherit pkgs lib; self = foodogsquaredLib; };
in
{
trivial = callLib ./trivial.nix;
#home-manager = callLib ./home-manager.nix;
}