nixos-config/default.nix

14 lines
442 B
Nix
Raw Normal View History

{ pkgs ? import <nixpkgs> { } }:
let
lib' = pkgs.lib.extend (import ./lib/extras/extend-lib.nix);
2022-11-19 03:05:31 +00:00
in
{
lib = import ./lib { lib = pkgs.lib; };
modules = lib'.importModules (lib'.filesToAttr ./modules/nixos);
overlays = import ./overlays // {
foo-dogsquared-pkgs = final: prev: import ./pkgs { pkgs = prev; };
};
hmModules = lib'.importModules (lib'.filesToAttr ./modules/home-manager);
} // (import ./pkgs { inherit pkgs; })