mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 11:36:10 +01:00
init: Asus Zenbook 17 Pro
This commit is contained in:
parent
3441b5242a
commit
a8bbda8911
3 changed files with 38 additions and 1 deletions
36
asus/zenbook/um6702/default.nix
Normal file
36
asus/zenbook/um6702/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ lib, ... }:
|
||||
let
|
||||
inherit (lib) mkDefault;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../../common/cpu/amd
|
||||
../../../common/cpu/amd/pstate.nix
|
||||
|
||||
# iGPU
|
||||
../../../common/gpu/amd
|
||||
|
||||
# dGPU
|
||||
../../../common/gpu/nvidia/prime.nix
|
||||
../../../common/gpu/nvidia/ampere
|
||||
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/ssd
|
||||
|
||||
../../battery.nix
|
||||
];
|
||||
|
||||
hardware.nvidia = {
|
||||
dynamicBoost.enable = mkDefault true;
|
||||
|
||||
powerManagement = {
|
||||
enable = mkDefault true;
|
||||
finegrained = mkDefault true;
|
||||
};
|
||||
|
||||
prime = {
|
||||
amdgpuBusId = "PCI:1:0:0";
|
||||
nvidiaBusId = "PCI:101:0:0";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue