2024-07-23 13:43:21 +00:00
|
|
|
let
|
|
|
|
flakeUtils = import ../lib/flake.nix;
|
|
|
|
flake = flakeUtils.importFlakeMetadata ../flake.lock;
|
|
|
|
in
|
|
|
|
{ pkgs ? import (flakeUtils.fetchTree flake "nixos-unstable") { } }:
|
2024-03-03 08:43:18 +00:00
|
|
|
|
2024-07-23 13:43:21 +00:00
|
|
|
let
|
|
|
|
utils = import ./utils.nix { inherit pkgs; };
|
|
|
|
in
|
2024-03-03 08:43:18 +00:00
|
|
|
{
|
2024-07-23 13:43:21 +00:00
|
|
|
lib = import ./lib { inherit pkgs utils; };
|
2024-06-10 09:09:32 +00:00
|
|
|
modules = {
|
2024-07-23 13:43:21 +00:00
|
|
|
home-manager = import ./modules/home-manager { inherit pkgs utils; };
|
|
|
|
nixos = import ./modules/nixos { inherit pkgs utils; };
|
2024-06-10 09:09:32 +00:00
|
|
|
};
|
2024-03-03 08:43:18 +00:00
|
|
|
}
|