summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorKyren223 <contact@kyren.codes>2025-08-28 20:33:56 +0300
committerKyren223 <contact@kyren.codes>2025-08-28 20:33:56 +0300
commitc00c86aa66bbae5bd2436cc4740ffcb1aa1e86d1 (patch)
tree83b6289dedb329189a1950ad0cbfb4fc5aeb43d0 /modules
parentf95321718ef1142da26bc3c76cb074df3d055252 (diff)
Update to hyprland flake
Diffstat (limited to 'modules')
-rw-r--r--modules/display.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/display.nix b/modules/display.nix
index b439c6b..e8598f8 100644
--- a/modules/display.nix
+++ b/modules/display.nix
@@ -1,4 +1,4 @@
-{ pkgs, lib, ... }:
+{ pkgs, lib, inputs, ... }:
with lib; let
hyprPluginPkgs = inputs.hyprland-plugins.packages.${pkgs.system};
hypr-plugin-dir = pkgs.symlinkJoin {
@@ -9,7 +9,11 @@
};
in {
- programs.hyprland.enable = true;
+ programs.hyprland = {
+ enable = true;
+ package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
+ portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
+ };
environment.sessionVariables = { HYPR_PLUGIN_DIR = hypr-plugin-dir; };
# Optional, hint electron apps to use wayland: