diff --git a/modules/components/config-override.nix b/modules/components/config-override.nix index 7483c28..a86f1a1 100644 --- a/modules/components/config-override.nix +++ b/modules/components/config-override.nix @@ -49,6 +49,16 @@ in ''; }; + toucheggConf = mkOption { + type = types.nullOr types.lines; + default = null; + description = '' + Complete touchegg.conf content. When set, completely overrides: + - Any copied touchegg.conf from source + - Generates the entire file from this content + ''; + }; + # Directory-level overrides hyprDirectory = mkOption { type = types.nullOr types.path; @@ -96,6 +106,11 @@ in "foot/foot.ini".text = cfg.overrides.footConfig; }) + # Touchegg complete override + (mkIf (cfg.overrides.toucheggConf != null) { + "touchegg/touchegg.conf".text = cfg.overrides.toucheggConf; + }) + # Directory overrides (mkIf (cfg.overrides.hyprDirectory != null) { "hypr" = {