nixos-config/tests/default.nix

18 lines
505 B
Nix
Raw Normal View History

let
flakeUtils = import ../lib/flake.nix;
flake = flakeUtils.importFlakeMetadata ../flake.lock;
in
{ pkgs ? import (flakeUtils.fetchTree flake "nixos-unstable") { } }:
let
utils = import ./utils.nix { inherit pkgs; };
in
{
lib = import ./lib { inherit pkgs utils; };
modules = {
home-manager = import ./modules/home-manager { inherit pkgs utils; };
nixos = import ./modules/nixos { inherit pkgs utils; };
2024-08-15 04:09:23 +00:00
wrapper-manager = import ./modules/wrapper-manager { inherit pkgs; };
};
}