{ services.xserver = { enable = true; windowManager.bspwm.enable = true; displayManager = { sddm.enable = true; # Вход в систему defaultSession = "none+bspwm"; # only effective for GDM, LightDM and SDDM }; xkb = { layout = "us,ru"; variant = ""; options = "grp:caps_toggle"; # Менять язык на CapsLock }; libinput = { enable = true; mouse = { accelProfile = "flat"; scrollMethod = "button"; scrollButton = 9; # Узнать айди можно через `xev -event button | grep button` }; touchpad = { accelProfile = "flat"; }; }; # videoDrivers = [ "amdgpu" ]; # https://nixos.wiki/wiki/AMD_GPU # deviceSection = ''Option "TearFree" "True"''; }; }