-
Hey, I'm trying to install anyrun using home manager. Since I can't find the options in the home manager repo, I use it through as in input in my flake.nix.
but i got the following error:
Where did I make a mistake? I feel like I'm still pretty new in nix and I'm sure that I made a mistake. Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
To pass the anyrun argument to your home-manager modules use extraSpecialArgs like demonstrated here: In your case this would be:
BUT this is probably not what you want.
then you should just change the section to
adding the module provides you with the options to enable anyrun, in any home-manager module this should then be converted to:
and remove the anyrun argument in the home.nix Now on the error that is thrown: Additional note, you probably want to use the home-manager module to in your configuration for your host, so applying home-manager and nixos changes is both done on |
Beta Was this translation helpful? Give feedback.
To pass the anyrun argument to your home-manager modules use extraSpecialArgs like demonstrated here:
https://nix-community.github.io/home-manager/
for the normal module system look here
In your case this would be:
BUT this is probably not what you want.
i assume your flake looks something like this:
then you should just change …