nixos-config/lib/default.nix
Gabriel Arazas ba6b30ca95
lib: standardize arguments (again)
We'll just copy what we did with Bahaghari project.
2024-03-03 16:39:32 +08:00

14 lines
284 B
Nix

# The entrypoint for our custom library set.
{ pkgs }:
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;
})