NixOS Home Manager module + Hyprland flake? #10142
-
I have the following structure: NixOS Flake:
If I remove fields However, if I use the versions from flakes, plugins does not seem to load. If there is a problem with the logic of imports, let me know, I think I tried to follow the wiki quite close. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Here is the complete setup which works, if I uncomment packages which derive from flake, plugin does not load |
Beta Was this translation helpful? Give feedback.
-
There may have been a bit of confusion here. What's happening is:
Removing the explicit package definitions works because you're essentially using Hyprland from Nixpkgs with plugins from Nixpkgs, which are meant to work together. However, using flake Hyprland with plugins from Nixpkgs does not work, as the versions differ. If you still want to use that plugin with the flake Hyprland, you can directly try out the plugin flake (if any), or override the plugin to use a more recent version. |
Beta Was this translation helpful? Give feedback.
There may have been a bit of confusion here.
What's happening is:
null
-> HM will not manage any packages, only configuration files.pkgs.
)programs.hyprland.package/portalPackage
).Removing the explicit package definitions works because you're essentially using Hyprland from Nixpkgs with plugins from Nixpkgs, which are meant to work together. However, using flake Hyprland with plugins from Nixpkgs does not work, as the versions differ.
If you still want to use that plugin with the flake Hyprland, you can directly try out the plugin flake (if any), or overri…