mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 05:53:56 -05:00
hyprland: use lib.optionals for redshift startup
This commit is contained in:
parent
a81a230895
commit
c3e1bd66cb
|
@ -135,14 +135,10 @@
|
|||
(lib.getExe pkgs.mako)
|
||||
"${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1"
|
||||
]
|
||||
++ (
|
||||
if config.alyraffauf.desktop.hyprland.redShift
|
||||
then [
|
||||
++ lib.lists.optionals (config.alyraffauf.desktop.hyprland.redShift) [
|
||||
"${pkgs.geoclue2}/libexec/geoclue-2.0/demos/agent"
|
||||
(lib.getExe pkgs.gammastep)
|
||||
]
|
||||
else []
|
||||
);
|
||||
];
|
||||
|
||||
screenshot = rec {
|
||||
bin = lib.getExe inputs.nixpkgsUnstable.legacyPackages."${pkgs.system}".hyprshot;
|
||||
|
|
Loading…
Reference in a new issue