mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-30 22:57:55 +00:00
18 lines
511 B
Nix
18 lines
511 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; };
|
|
wrapper-manager = import ./modules/wrapper-manager { inherit pkgs utils; };
|
|
};
|
|
}
|