nixos-config/subprojects/bahaghari/modules/extra-arguments.nix
Gabriel Arazas bbba0e5bba
bahaghari: restructure module entrypoint
At least it doesn't need additional setup anymore.
2024-02-25 17:21:57 +08:00

14 lines
374 B
Nix

{ config, lib, pkgs, ... }:
let
bahaghariLib = import ../lib { inherit pkgs; };
in
{
# Setting the Bahaghari lib and extra utilities. The extra utilities are
# largely based from the `utils` module argument found in NixOS systems.
_module.args = {
inherit bahaghariLib;
bahaghariUtils = import ../lib/utils { inherit config pkgs lib bahaghariLib; };
};
}