From 5a062ed4329468249ac3be240aeb65080816f764 Mon Sep 17 00:00:00 2001 From: Jasper Ras Date: Tue, 4 Feb 2025 19:13:28 +0100 Subject: stuff --- configuration/hyprland.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 configuration/hyprland.nix (limited to 'configuration/hyprland.nix') diff --git a/configuration/hyprland.nix b/configuration/hyprland.nix new file mode 100644 index 0000000..bf06cc3 --- /dev/null +++ b/configuration/hyprland.nix @@ -0,0 +1,14 @@ +{ inputs, pkgs, ... }: +{ + nix.settings = { + substituters = ["https://hyprland.cachix.org"]; + trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="]; + }; + + programs.hyprland = { + enable = true; + xwayland.enable = true; + package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland; + portalPackage = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; + }; +} -- cgit v1.2.3