hypr*: use packages from unstable instead of stable

This commit is contained in:
SebastianStork 2025-08-02 21:03:27 +02:00
parent e57e1879b5
commit 40ca842d8b
3 changed files with 24 additions and 4 deletions

View file

@ -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;

View file

@ -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 = {

View file

@ -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";