Auto-commit: 2026-01-05 19:52:54
This commit is contained in:
22
home/desktop/hyprland/input.nix
Normal file
22
home/desktop/hyprland/input.nix
Normal file
@@ -0,0 +1,22 @@
|
||||
{ lib, nixosConfig, ... }:
|
||||
let
|
||||
cfg = nixosConfig.my.desktop;
|
||||
in
|
||||
{
|
||||
wayland.windowManager.hyprland = lib.mkIf (cfg.enable && cfg.hyprland.enable) {
|
||||
settings = {
|
||||
input = {
|
||||
kb_layout = "us";
|
||||
kb_variant = "altgr-intl";
|
||||
sensitivity = 0.3;
|
||||
follow_mouse = 1;
|
||||
accel_profile = "flat";
|
||||
|
||||
repeat_delay = 250;
|
||||
repeat_rate = 35;
|
||||
|
||||
off_window_axis_events = 2;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user