29 lines
576 B
Nix
29 lines
576 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
./display-configuration.nix
|
|
../../modules/hardware/nvidia.nix
|
|
../../modules/apps/gaming.nix
|
|
];
|
|
|
|
networking.hostName = "hades";
|
|
|
|
powerManagement.cpuFreqGovernor = "performance";
|
|
|
|
hardware.nvidia.prime = {
|
|
offload.enable = false;
|
|
sync.enable = false;
|
|
|
|
amdgpuBusId = "PCI:121@0:0:0";
|
|
nvidiaBusId = "PCI:1@0:0:0";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
mangohud
|
|
nvtopPackages.nvidia
|
|
];
|
|
}
|
|
|