Example on how to pass packages from flakes into home.packages #7456
Replies: 3 comments
-
Hi, If you have access to |
Beta Was this translation helpful? Give feedback.
-
I ended up doing an overlay which seemed to be the best option. configuration = _: {
imports = [ ./home.nix ];
nixpkgs.overlays = [
(final: prev: {
nix-output-monitor = nix-output-monitor.defaultPackage."${system}";
})
];
}; Still, I am wondering if this is the best solution, or if there is a better one. |
Beta Was this translation helpful? Give feedback.
-
For whatever it is worth I’m using the overlay option as well. Also interested to know if there is an even better one. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using flakes with home-manager and want to add a packages from some flake into
home.packages
. Currently I hacked something together and passing in some things viaextraSpecialArgs
and then use them as input.My question is now: How are you really supposed to do that platform independent? I also couldn't figure out a way to use eachSystem since the output is not what home-manager is expecting.
Beta Was this translation helpful? Give feedback.
All reactions