Skip to content

How to install anyrun using Nix Home Manager? #186

Answered by haennes
s1syph0s asked this question in Q&A
Discussion options

You must be logged in to vote

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:

# ...
      homeConfigurations = {
        "sisyph0s@saturn" = home-manager.lib.homeManagerConfiguration {
	  inherit pkgs;
         extraSpecialArgs = {
              inherit anyrun;
         };
	  modules = [ 
	    ./host/saturn/home.nix 
	  ];
	};

BUT this is probably not what you want.
i assume your flake looks something like this:

...
inputs.anyrun.url = "https://github.com/anyrun-org/anyrun";
....
outputs = inputs@{..., anyrun, ...}:{
....
}

then you should just change …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@s1syph0s
Comment options

Answer selected by s1syph0s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants