nixos-config/tests/default.nix
Gabriel Arazas 5b7dae16d2
tests: update default arguments
The setup's tentative. Unfortunately, still requires the right
experimental features enabled.
2024-07-23 21:43:21 +08:00

17 lines
431 B
Nix

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; };
};
}