nixos-config/subprojects/bahaghari/modules/extra-arguments.nix

14 lines
374 B
Nix
Raw Normal View History

{ 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; };
};
}