refactor(lib): add lib output to flake

This is needed so we can use subattributes of flake.lib
This commit is contained in:
Mohammad Rafiq 2025-07-07 14:03:38 +08:00
parent 1dc3f4bf44
commit 4e74db3938
No known key found for this signature in database
6 changed files with 33 additions and 4 deletions

View file

@ -1,7 +1,7 @@
{ config, lib, ... }:
let
cfg = config.flake;
inherit (cfg.lib) forAllUsers';
inherit (cfg.lib.modules) forAllUsers';
inherit (lib.attrsets) mapAttrs';
in
{