mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-26 18:16:13 +01:00
6a4cbd9e81
Signed-off-by: Magic_RB <magic_rb@redalder.org>
24 lines
408 B
Nix
24 lines
408 B
Nix
{ pkgs, lib, ... }:
|
|
let
|
|
inherit (lib)
|
|
getExe;
|
|
in
|
|
{
|
|
imports = [
|
|
../../common/xserver.nix
|
|
];
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
services.xserver.libinput = {
|
|
touchpad.clickMethod = "clickfinger";
|
|
touchpad.disableWhileTyping = true;
|
|
};
|
|
|
|
hardware.nvidia.prime = {
|
|
intelBusId = "PCI:0:2:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
offload.enableOffloadCmd = true;
|
|
};
|
|
}
|