mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 09:36:14 +01:00
xorg: reenable primeSync on nvidia and enable disableWhileTyping
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
556ecef190
commit
937479dbba
|
@ -67,7 +67,10 @@ in {
|
|||
defaultSession = "none+xmonad";
|
||||
};
|
||||
|
||||
libinput.enable = true;
|
||||
libinput = {
|
||||
enable = true;
|
||||
touchpad.disableWhileTyping = true;
|
||||
};
|
||||
};
|
||||
|
||||
hardware = {
|
||||
|
@ -76,8 +79,8 @@ in {
|
|||
};
|
||||
}
|
||||
(mkIf (cfg.gpu == "nvidia") {
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
# hardware.nvidia.modesetting.enable = mkIf cfg.nvidia.primeSync true;
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.modesetting.enable = mkIf cfg.nvidia.primeSync true;
|
||||
|
||||
services.xserver.deviceSection = mkIf cfg.nvidia.primeSync ''
|
||||
Option "Coolbits" "28"
|
||||
|
|
Loading…
Reference in a new issue