diff --git a/subprojects/bahaghari/modules/extra-arguments.nix b/subprojects/bahaghari/modules/extra-arguments.nix index 4fc1aa75..e0459b69 100644 --- a/subprojects/bahaghari/modules/extra-arguments.nix +++ b/subprojects/bahaghari/modules/extra-arguments.nix @@ -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; }; }; } diff --git a/subprojects/bahaghari/utils/default.nix b/subprojects/bahaghari/utils/default.nix index 4584d2a6..7b9b7ab0 100644 --- a/subprojects/bahaghari/utils/default.nix +++ b/subprojects/bahaghari/utils/default.nix @@ -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;