ooknet/home/modules/desktop/wayland/compositor/hyprland/settings/inputs.nix

17 lines
330 B
Nix

{
lib,
config,
...
}: let
inherit (lib) mkIf;
inherit (config.ooknet) wayland;
in {
config = mkIf (wayland.compositor == "hyprland") {
wayland.windowManager.hyprland.settings.input = {
kb_layout = "us";
follow_mouse = 1;
touchpad.natural_scroll = "no";
mouse_refocus = false;
};
};
}