mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-14 11:57:55 +00:00
modules: Export pkgs
to match NixOS (#2696)
This makes it a lot easier to access the `pkgs` that would be used to build the home configuration, e.g. nix build ./dotfiles#homeConfigurations."user@host".pkgs.vim This is useful as it allows access to a Nixpkgs that has been instiantiated with config and overlays.
This commit is contained in:
parent
2e473a7b09
commit
8ab155c61f
1 changed files with 2 additions and 0 deletions
|
@ -61,4 +61,6 @@ in
|
|||
sort (a: b: a.time > b.time) (
|
||||
filter (a: a.condition) rawModule.config.news.entries
|
||||
);
|
||||
|
||||
inherit (module._module.args) pkgs;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue