Closed Guekka closed 10 months ago
Hello!
The issue that the argument being passed through extraArgs
is inputs
, not nix-colors
. You can either:
Use inputs
in your home file:
{inputs, ...}: {
imports = [
./global
./optional/gnome.nix
./optional/activitywatch.nix
./optional/heroic.nix
./optional/jetbrains.nix
./optional/ledger.nix
inputs.nix-colors.homeManagerModules.default
];
colorScheme = inputs.nix-colors.colorSchemes.dracula;
}
Pass inputs
's args instead:
{
# ...
mkHome = host:
home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = { inherit (self) outputs; } // inputs;
modules = [
./home/edgar/${host}.nix
];
};
# ...
}
Thanks for that extremely quick answer However, sorry for wasting your time, I should have told I already tried that That's why I find this issue particularly weird
I pushed another commit implementing the first version
Here's the full log. I am still not familiar enough with the language to understand it
So, I finally found the solution. I was missing extraSpecialArgs
in my home-manager configuration when building with nixos-rebuild
Hey. As the others before me #11, I'm encountering the dreaded infinite recursion I know the issue likely comes from my setup. Feel free to close this issue and ignore it
Otherwise, if you want to have a look, here's my config. It should be familiar to you, as I was heavily inspired by yours. I have taken care to pass
extraArgs
, so I don't think that is the issue.Trace:
Thanks