From cbc909f2e7202f6597ed2c8a4800191e33c9e9f0 Mon Sep 17 00:00:00 2001 From: jacekpoz Date: Thu, 7 Mar 2024 00:02:15 +0100 Subject: [PATCH] add extraSettings to the hyprland wrapper module --- modules/gui/hyprland.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/gui/hyprland.nix b/modules/gui/hyprland.nix index a7fd7cfb1..3c671423f 100644 --- a/modules/gui/hyprland.nix +++ b/modules/gui/hyprland.nix @@ -29,6 +29,11 @@ in { description = "enable tearing"; default = false; }; + extraSettings = mkOption { + type = types.attrs; + description = "extra per host hyprland settings"; + default = {}; + }; }; disabledModules = [ "programs/hyprland.nix" ]; @@ -477,7 +482,7 @@ in { keep_focused = true; }; }; - }; + } // cfg.extraSettings; }; }; };