1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-26 03:29:44 +01:00
nixos-hardware/slimbook/hero/rpl-rtx/default.nix
2024-12-23 01:15:58 +00:00

34 lines
825 B
Nix

{ config, lib, ... }:
{
imports = [
../../../common/cpu/intel
../../../common/gpu/intel
../../../common/gpu/nvidia/ada-lovelace
../../../common/gpu/nvidia/prime.nix
../../../common/pc/laptop
../../../common/pc/laptop/ssd
];
hardware = {
graphics = {
enable = lib.mkDefault true;
enable32Bit = lib.mkDefault true;
};
nvidia = {
prime = {
intelBusId = lib.mkDefault "PCI:0:2:0";
nvidiaBusId = lib.mkDefault "PCI:1:0:0";
};
powerManagement = {
enable = lib.mkDefault false; # Causes sleep issues. See README for more information
finegrained = lib.mkDefault false;
};
dynamicBoost.enable = true;
};
};
services = {
fwupd.enable = lib.mkDefault true;
thermald.enable = lib.mkDefault true;
};
}