1

System: Align system hyprland package with hyprland module

This commit is contained in:
2025-07-22 13:58:27 +02:00
parent cc77467709
commit 2412129204
3 changed files with 14 additions and 8 deletions

View File

@ -213,7 +213,7 @@ with mylib.networking; {
};
# https://github.com/NixOS/nixpkgs/issues/179486
supportedLocales = ["en_US.UTF-8/UTF-8" "de_DE.UTF-8/UTF-8"];
supportedLocales = ["${en}/UTF-8" "${de}/UTF-8"];
};
console = {
@ -339,6 +339,10 @@ with mylib.networking; {
hyprland = {
enable = !headless;
package = inputs.hyprland.packages.${system}.hyprland;
portalPackage = inputs.hyprland.packages.${system}.xdg-desktop-portal-hyprland;
xwayland.enable = true;
withUWSM = true;
};

View File

@ -43,9 +43,10 @@ in {
xdg-desktop-portal-gtk # Fallback
]
(lib.mkIf desktopportal.hyprland.enable [
xdg-desktop-portal-hyprland
])
# We don't need to install that explicitly
# (lib.mkIf desktopportal.hyprland.enable [
# xdg-desktop-portal-hyprland
# ])
(lib.mkIf desktopportal.termfilechooser.enable [
xdg-desktop-portal-termfilechooser # Filechooser using yazi