Nix: add info about portals in HM

This commit is contained in:
Mihai Fufezan 2025-01-30 10:34:34 +02:00
parent 7fe1fa957f
commit b15c91b31e
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
3 changed files with 8 additions and 6 deletions

View file

@ -9,8 +9,8 @@ For a list of available options, check the
- _**(Required)** NixOS Module_: enables critical components needed to run
Hyprland properly.
- _Without this, you may have issues with XDG Portals, or missing session
files in your Display Manager._
- _Without this, you may have issues with missing session files in your
Display Manager._
- _(Optional) Home Manager module_: lets you configure Hyprland declaratively
through Home Manager.
- _This module configures Hyprland and adds it to your user's `$PATH`, but
@ -69,6 +69,7 @@ Don't forget to replace `user@hostname` with your username and hostname!
enable = true;
# set the flake package
package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portla-hyprland;
};
}
# ...
@ -106,6 +107,7 @@ in {
enable = true;
# set the flake package
package = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
portalPackage = hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portla-hyprland;
}
}
```

View file

@ -15,8 +15,8 @@ Make sure to check out the options of the
- _**(Required)** NixOS Module_: enables critical components needed to run
Hyprland properly
- _Without this, you may have issues with XDG Portals, or missing session
files in your Display Manager._
- _Without this, you may have issues with missing session files in your
Display Manager._
- _(Optional) Home Manager module_: lets you configure Hyprland declaratively
through Home Manager.
- _This module configures Hyprland and adds it to your user's `$PATH`, but

View file

@ -9,8 +9,8 @@ To install Hyprland on NixOS, we provide a NixOS and a Home Manager module.
- _**(Required)** NixOS Module_: enables critical components needed to run
Hyprland properly
- _Without this, you may have issues with XDG Portals, or missing session
files in your Display Manager._
- _Without this, you may have issues with missing session files in your
Display Manager._
- _(Optional) Home Manager module_: lets you configure Hyprland declaratively
through Home Manager.
- _This module configures Hyprland and adds it to your user's `$PATH`, but