mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
hyprsunset: fixed evaluation when hyprland package is null
This commit is contained in:
@@ -200,7 +200,8 @@ in
|
||||
};
|
||||
};
|
||||
}
|
||||
// lib.optionalAttrs (config.wayland.windowManager.hyprland.package != null) lib.mapAttrs' (
|
||||
// lib.optionalAttrs (config.wayland.windowManager.hyprland.package != null) (
|
||||
lib.mapAttrs' (
|
||||
name: transitionCfg:
|
||||
lib.nameValuePair "hyprsunset-${name}" {
|
||||
Install = { };
|
||||
@@ -221,7 +222,8 @@ in
|
||||
) transitionCfg.requests;
|
||||
};
|
||||
}
|
||||
) cfg.transitions;
|
||||
) cfg.transitions
|
||||
);
|
||||
|
||||
timers = lib.mapAttrs' (
|
||||
name: transitionCfg:
|
||||
|
||||
Reference in New Issue
Block a user