add extraSettings to the hyprland wrapper module

This commit is contained in:
jacekpoz 2024-03-07 00:02:15 +01:00
parent 5649089667
commit cbc909f2e7
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -29,6 +29,11 @@ in {
description = "enable tearing"; description = "enable tearing";
default = false; default = false;
}; };
extraSettings = mkOption {
type = types.attrs;
description = "extra per host hyprland settings";
default = {};
};
}; };
disabledModules = [ "programs/hyprland.nix" ]; disabledModules = [ "programs/hyprland.nix" ];
@ -477,7 +482,7 @@ in {
keep_focused = true; keep_focused = true;
}; };
}; };
}; } // cfg.extraSettings;
}; };
}; };
}; };