Closed broccoli5 closed 2 years ago
That probably refers to with lib.hm.gvariant;
. My guess is you are importing your dconf.nix
file directly in your NixOS configuration, so it is picking up the standard lib
instead of the one that has the HM modules.
The import should be under home-manager.users.USER
. E.g.
{
home-manager.users.joe = { pkgs, ... }: {
home.packages = [ pkgs.vim ];
imports = [ ./dconf.nix ];
programs.bash.enable = true;
};
}
Do you have something like this in your configuration?
Yep that was it, thanks!
@broccoli5 glad to hear!
Since you're fresh on it, mind adding that to the README file? Other users will definitely benefit from that little instruction :)
Yep, I will add it in a little while
Type of bug
Other (please add details in additional context)
Version
0.0.12
Did you test against master?
Error message (if not timeout)
No response
DConf input
No response
Additional context
So, this is bit awkward, but I use the home-manager nixos module and I do not know how to import the file so that it works, I'm getting: