Skip to content

Commit

Permalink
sharedModules: add pkgs to module args
Browse files Browse the repository at this point in the history
  • Loading branch information
nrdxp committed Mar 25, 2021
1 parent ddcd476 commit 2a08899
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nixos/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ let
specialArgs = {
lib = extendedLib;
nixosConfig = config;
} // cfg.extraSpecialArgs;
} // cfg.extraSpecialArgs
// optionalAttrs (cfg.useGlobalPkgs) { inherit pkgs; };
modules = [
({ name, ... }: {
imports = import ../modules/modules.nix {
Expand Down

0 comments on commit 2a08899

Please sign in to comment.