build(flake)!: update inputs

This commit is contained in:
Moritz Böhme 2023-08-17 16:26:21 +02:00
parent 44a2142653
commit d4eb17856e
No known key found for this signature in database
GPG key ID: 970C6E89EB0547A9
4 changed files with 115 additions and 91 deletions

View file

@ -7,8 +7,6 @@ with lib;
let
cfg = config.my.programs.hyprland;
boolToYesNo = bool: if bool then "yes" else "no";
mkRule = rule: windowRegexes: "windowrulev2 = ${rule},${concatStringsSep "," windowRegexes}";
mkRules = rules: windowRegexes: concatStringsSep "\n" (map (flip mkRule windowRegexes) rules);
in
@ -58,12 +56,14 @@ in
# See https://wiki.hyprland.org/Configuring/Variables/ for more
rounding = 3
blur = ${boolToYesNo cfg.blur}
blur_size = 3
blur_passes = 3
blur_new_optimizations = on
blur {
enabled = ${boolToString cfg.blur}
size = 3
passes = 3
new_optimizations = on
}
drop_shadow = ${boolToYesNo cfg.shadows}
drop_shadow = ${boolToString cfg.shadows}
shadow_range = 10
shadow_render_power = 2

View file

@ -9,7 +9,7 @@ with lib;
let
cfg = config.my.programs.hyprland;
hyprland = pkgs.hyprland.override { nvidiaPatches = cfg.nvidiaSupport; };
hyprland = pkgs.hyprland.override { enableNvidiaPatches = cfg.nvidiaSupport; };
in
{
options.my.programs.hyprland = {