refactor: use helper funcs for hyprland conf

This commit is contained in:
matt1432 2024-11-20 20:12:24 -05:00
parent 318ccef645
commit 85348d1a6c
13 changed files with 414 additions and 173 deletions

View file

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