dotfiles/nixos/systems/omen/xserver.nix
magic_rb 269a809843
Fix omen's proprietary NVidia driver specialization
Signed-off-by: magic_rb <magic_rb@redalder.org>
2024-03-12 23:24:31 +01:00

27 lines
399 B
Nix

{
pkgs,
lib,
...
}: let
inherit
(lib)
getExe
;
in {
imports = [
../../common/xserver.nix
];
services.xserver.videoDrivers = ["modesetting" "nouveau"];
services.xserver.libinput = {
touchpad.clickMethod = "clickfinger";
touchpad.disableWhileTyping = true;
};
hardware.nvidia.prime = {
intelBusId = "PCI:0:2:0";
nvidiaBusId = "PCI:1:0:0";
};
}