nixos-configs/lib/default.nix
matt1432 85348d1a6c
All checks were successful
Discord / discord commits (push) Has been skipped
refactor: use helper funcs for hyprland conf
2024-11-20 20:12:24 -05:00

23 lines
443 B
Nix

{
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
)