While refactoring my HM arguments in my multi-system-multi-user flake due to the changes in 21.11
, I stumbled on this:
In a theme.nix
file (in the imports
list of home.nix
) I define
gtk = {
enable = true;
iconTheme = {
name = "BeautyLine";
package = pkgs.beauty-line-icon-theme;
};
...
};
and in services/dunst
I want to refer to that like so (which worked when config
was still an argument`):
services.dunst = {
enable = true;
iconTheme = config.gtk.iconTheme;
...
which stopped working after taking config
out acc. to the release notes 21.11.
Under which attribute can I access the HM config? (pkgs.config
seems to contain the system’s config, but not HM attributes).