From 40ca842d8b918efd7f1515e547b671767a201d51 Mon Sep 17 00:00:00 2001 From: SebastianStork Date: Sat, 2 Aug 2025 21:03:27 +0200 Subject: [PATCH] hypr*: use packages from unstable instead of stable --- modules/home/programs/hyprlock.nix | 8 +++++++- modules/home/services/hypridle.nix | 8 +++++++- modules/system/de/hyprland.nix | 12 ++++++++++-- 3 files changed, 24 insertions(+), 4 deletions(-) diff --git a/modules/home/programs/hyprlock.nix b/modules/home/programs/hyprlock.nix index 347fc18..f25beee 100644 --- a/modules/home/programs/hyprlock.nix +++ b/modules/home/programs/hyprlock.nix @@ -1,4 +1,9 @@ -{ config, lib, ... }@moduleArgs: +{ + config, + pkgs-unstable, + lib, + ... +}@moduleArgs: let cfg = config.custom.programs.hyprlock; in @@ -13,6 +18,7 @@ in config = lib.mkIf cfg.enable { programs.hyprlock = { enable = true; + package = pkgs-unstable.hyprlock; settings = { general.hide_cursor = true; diff --git a/modules/home/services/hypridle.nix b/modules/home/services/hypridle.nix index 1442314..8a31c11 100644 --- a/modules/home/services/hypridle.nix +++ b/modules/home/services/hypridle.nix @@ -1,10 +1,16 @@ -{ config, lib, ... }: +{ + config, + pkgs-unstable, + lib, + ... +}: { options.custom.services.hypridle.enable = lib.mkEnableOption ""; config = lib.mkIf config.custom.services.hypridle.enable { services.hypridle = { enable = true; + package = pkgs-unstable.hypridle; settings = { general = { diff --git a/modules/system/de/hyprland.nix b/modules/system/de/hyprland.nix index de1d393..062a3e8 100644 --- a/modules/system/de/hyprland.nix +++ b/modules/system/de/hyprland.nix @@ -1,9 +1,17 @@ -{ config, lib, ... }: +{ + config, + pkgs-unstable, + lib, + ... +}: { options.custom.de.hyprland.enable = lib.mkEnableOption ""; config = lib.mkIf config.custom.de.hyprland.enable { - programs.hyprland.enable = true; + programs.hyprland = { + enable = true; + package = pkgs-unstable.hyprland; + }; environment.sessionVariables.NIXOS_OZONE_WL = "1";