Open Bear-03 opened 2 days ago
Ah I think this is an issue with using home-manager as a NixOS module. I checked and it looks like that path is the only one that does not pass down namespace
. It absolutely should, this is a bug. We pass namespace to everything else, I am pretty sure that I missed this one instance.
https://github.com/snowfallorg/lib/blob/main/snowfall-lib/home/default.nix#L276
More clearly stated: when using home-manager as a NixOS module, home-manager needs to have namespace
passed as a specialArg, but Snowfall Lib is not doing that.
Ah I see, thanks. Is this planned to be resolved? For now I can just hardcore the namespace, but I'd like to do it the correct way.
It should be fixed in a future release, just depends on me or someone else having the time and energy to implement the change.
Hello.
I am trying to build a simple flake with snowfall, but when I try to use a namespaced module in my home configuration, I get the following error:
I am fairly surprised this is happening since the flake is as small as it can get. Just a module, a home configuration file and a system configuration file; here's their contents:
If i change
"${namespace}"
tointernal
it works.Thanks in advance.