mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
switch to neovim as a pager added parrot and mining modules deleted amd module moved the rest of vfio configuration to vfio.nix moved git from home-manager to system configuration
15 lines
315 B
Nix
15 lines
315 B
Nix
{
|
|
hardware.nvidia.prime = {
|
|
sync.enable = true;
|
|
amdgpuBusId = "PCI:5:0:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
nvidia = {
|
|
nvidiaPersistenced = false;
|
|
nvidiaSettings = false;
|
|
modesetting.enable = true;
|
|
};
|
|
};
|
|
services.xserver = {
|
|
videoDrivers = ["modesetting" "nvidia"];
|
|
};
|
|
}
|