summaryrefslogtreecommitdiff
path: root/configuration/hyprland.nix
diff options
context:
space:
mode:
authorJasper Ras <jras@hostnet.nl>2025-02-04 19:13:28 +0100
committerJasper Ras <jras@hostnet.nl>2025-02-04 19:13:28 +0100
commit5a062ed4329468249ac3be240aeb65080816f764 (patch)
treecafdaffd9c6d310a1c1ff0401c4b58a6a818b90b /configuration/hyprland.nix
parent98c8c5ded88e4836f590db298cf53a5ec30eb353 (diff)
stuff
Diffstat (limited to 'configuration/hyprland.nix')
-rw-r--r--configuration/hyprland.nix14
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;
+ };
+}