bahaghari: fix utils as extra module arg

This commit is contained in:
Gabriel Arazas 2024-07-31 22:01:02 +08:00
parent a6fb0c4b53
commit fb7a15bdfb
No known key found for this signature in database
GPG Key ID: 62104B43D00AA360
2 changed files with 3 additions and 3 deletions

View File

@ -8,6 +8,6 @@ in
# largely based from the `utils` module argument found in NixOS systems.
_module.args = {
inherit bahaghariLib;
bahaghariUtils = import ../lib/utils { inherit config pkgs lib bahaghariLib; };
bahaghariUtils = import ../utils { inherit config pkgs lib bahaghariLib; };
};
}

View File

@ -1,7 +1,7 @@
{ config, lib, pkgs, bahaghariLib }:
{ config, lib, pkgs, bahaghariLib }@args:
let
callLib = path: import path { inherit config lib pkgs bahaghariLib; };
callLib = path: import path args;
in
{
tinted-theming = callLib ./tinted-theming.nix;