New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error: attribute 'inputs' missing. #312026
Comments
Hey, I had this same issue as you where I tried to pass Basically, instead of passing {
inputs = {
apple-fonts = { #... };
};
outputs = {self, nixpkgs, home-manager, apple-fonts, ...} @ inputs: nixosConfigurations = {
user = nixpkgs.lib.nixosSystem {
modules = [
home-manager.nixosModules.home-manager {
home-manager.extraSpecialArgs = {inherit apple-fonts;};
}
];
};
};
} |
Sorry, this seems to be a skill issue, not an issue with nixpkgs or home-manager. In short, {
inputs = {
nixpkgs.url = "...";
home-manager.url = "...";
};
outputs = inputs: {
nixosConfigurations = {
nixos-machine = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
# ...
specialArgs = {
inherit inputs;
};
};
};
};
} So you can write { inputs, ... }:
{
# ...
} in modules. It is worth noting that here or the nix repo issues are not very suitable places to ask questions. You can go to https://discourse.nixos.org or https://matrix.to/#/#users:nixos.org to get more help. |
Platform
surface pro 8
Additional information
I try to install hyprland plugins in HM, the instruction is:
wayland.windowManager.hyprland.plugins = [
inputs.hyprland-plugins.packages.${pkgs.system}.hyprbars
];
I get the
error : attribute 'inputs' missing.
But I have passed the inputs to HM:
modules = [
./hosts/surface
it doesn't work.
and then I tried to add these inputs manualy:
{pkgs, inputs, lib, hyprland-plugins, hyprgrass, ...}:
then it is the new error:
Output
Output
Priorities
Add 👍 to issues you find important.
The text was updated successfully, but these errors were encountered: