mirror of
https://github.com/tboerger/nixos-config
synced 2024-11-23 03:32:08 +01:00
25 lines
337 B
Nix
25 lines
337 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
hardware = {
|
|
nvidia = {
|
|
powerManagement = {
|
|
enable = true;
|
|
};
|
|
|
|
modesetting = {
|
|
enable = true;
|
|
};
|
|
|
|
prime = {
|
|
sync = {
|
|
enable = true;
|
|
};
|
|
|
|
nvidiaBusId = "PCI:3:0:0";
|
|
intelBusId = "PCI:0:2:0";
|
|
};
|
|
};
|
|
};
|
|
}
|