From 227274b109997b0a212cd435f2e63648b4b3a5c9 Mon Sep 17 00:00:00 2001 From: Ananth Venkatesh Date: Sun, 20 Jul 2025 15:07:39 -0700 Subject: [PATCH] feat: upgrade to latest hyprland --- flake.nix | 6 ++++++ hm/modules/linux/desktop-environment/hyprland/default.nix | 1 + modules/linux/core/default.nix | 4 ++++ 3 files changed, 11 insertions(+) diff --git a/flake.nix b/flake.nix index 0f587de..0b8ca3a 100755 --- a/flake.nix +++ b/flake.nix @@ -56,6 +56,11 @@ url = "github:binary-star-systems/apple-firmware"; flake = false; }; + + hyprland = { + url = "github:hyprwm/hyprland"; + inputs.nixpkgs.follows = "nixpkgs"; + }; spicetify = { url = "github:Gerg-L/spicetify-nix"; @@ -202,6 +207,7 @@ inputs.stylix.nixosModules.stylix inputs.agenix.nixosModules.age inputs.musnix.nixosModules.musnix + inputs.hyprland.nixosModules.hyprscroller inputs.hyprscroller.nixosModules.hyprscroller inputs.nur.modules.nixos.default ./modules/default.nix diff --git a/hm/modules/linux/desktop-environment/hyprland/default.nix b/hm/modules/linux/desktop-environment/hyprland/default.nix index 14f9ca6..fa73baf 100644 --- a/hm/modules/linux/desktop-environment/hyprland/default.nix +++ b/hm/modules/linux/desktop-environment/hyprland/default.nix @@ -85,6 +85,7 @@ in wayland.windowManager.hyprland = { enable = true; + package = inputs.hyprland.packages.x86_64-linux.hyprland; plugins = [ inputs.hyprscroller.packages.x86_64-linux.hyprscroller ]; settings = { exec-once = [ diff --git a/modules/linux/core/default.nix b/modules/linux/core/default.nix index 29e7345..bd8a768 100644 --- a/modules/linux/core/default.nix +++ b/modules/linux/core/default.nix @@ -130,9 +130,13 @@ in ]; substituters = [ "https://cache.nixos.org" + "https://hyprland.cachix.org" + "https://cache.garnix.io" ]; trusted-public-keys = [ "hydra.nixos.org-1:CNHJZBh9K4tP3EKF6FkkgeVYsS3ohTl+oS0Qa8bezVs=" + "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" + "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ]; trusted-users = [ "@wheel" ]; };