18 lines
329 B
Nix
18 lines
329 B
Nix
{ lib, config, ... }:
|
|
|
|
let
|
|
inherit (lib) mkIf;
|
|
wayland = 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;
|
|
};
|
|
};
|
|
|
|
}
|