nixos-config/default.nix

14 lines
445 B
Nix

{ pkgs ? import <nixpkgs> { } }:
let
lib = pkgs.lib.extend (import ./lib/extras/extend-lib.nix);
in
{
lib = import ./lib { lib = pkgs.lib; };
modules.default.imports = import ./modules/nixos { inherit lib; };
overlays = import ./overlays // {
foo-dogsquared-pkgs = final: prev: import ./pkgs { pkgs = prev; };
};
hmModules.default.imports = import ./modules/home-manager { inherit lib; };
} // (import ./pkgs { inherit pkgs; })