fix hyprland wrapper's extraSettings

This commit is contained in:
jacekpoz 2024-04-30 10:58:04 +02:00
parent 4c7784c91a
commit 9815fbdead
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -33,6 +33,9 @@ in {
description = "enable tearing";
default = false;
};
# TODO specify the type so I can merge everything manually
# without nix screaming at me because a specific subattrs
# doesn't exist
extraSettings = mkOption {
type = types.attrs;
description = "extra per host hyprland settings";
@ -480,7 +483,7 @@ in {
"${pkgs.networkmanagerapplet}/bin/nm-applet --indicator"
"${pkgs.blueman}/bin/blueman-applet"
];
] ++ cfg.extraSettings.exec-once;
layerrule = [
# no black border on grimblast screenshots
@ -506,7 +509,7 @@ in {
keep_focused = true;
};
};
} // cfg.extraSettings;
};
};
};
};