Skip to content

NixOS Home Manager module + Hyprland flake? #10142

Discussion options

You must be logged in to vote

There may have been a bit of confusion here.

What's happening is:

  1. You use the HM module with both packages set to null -> HM will not manage any packages, only configuration files.
  2. You're using versioned plugins (from Nixpkgs, pkgs.)
  3. You're trying to use flake packages (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…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mattephi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants