nixos-config/lib/default.nix

14 lines
284 B
Nix
Raw Normal View History

2024-02-25 12:02:41 +00:00
# The entrypoint for our custom library set.
2024-02-25 14:27:05 +00:00
{ pkgs }:
2021-12-06 09:55:40 +00:00
2024-02-25 14:27:05 +00:00
pkgs.lib.makeExtensible
(self:
let
inherit (pkgs) lib;
callLib = file: import file { inherit pkgs lib self; };
in {
trivial = callLib ./trivial.nix;
inherit (self.trivial) countAttrs getConfig getUser;
})