diff options
Diffstat (limited to 'configuration/hyprland.nix')
-rw-r--r-- | configuration/hyprland.nix | 14 |
1 files changed, 14 insertions, 0 deletions
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; + }; +} |