nixos-configs/lib/default.nix

24 lines
443 B
Nix
Raw Normal View History

{
perSystem,
inputs,
}: let
flake = import ./flake inputs;
hypr = import ./hypr inputs.nixpkgs.lib;
strings = import ./strings inputs.nixpkgs.lib;
lib = flake // hypr // strings;
in
# Expose main attrs
lib
# Expose all funcs
// {inherit flake hypr strings;}
# Expose funcs that require pkgs
// perSystem (
pkgs:
(import ./pkgs {
inherit pkgs;
inherit (inputs) self;
})
// lib
)