Skip to content

Commit b4cb57f

Browse files
committed
add Asus Zenbook UM6702
1 parent cc66fdd commit b4cb57f

File tree

2 files changed

+37
-0
lines changed

2 files changed

+37
-0
lines changed

asus/zenbook/um6702/default.nix

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{ lib, ... }:
2+
let
3+
inherit (lib) mkDefault;
4+
in
5+
{
6+
imports = [
7+
../../../common/cpu/amd
8+
../../../common/cpu/amd/pstate.nix
9+
10+
# iGPU
11+
../../../common/gpu/amd
12+
13+
# dGPU
14+
../../../common/gpu/nvidia/prime.nix
15+
../../../common/gpu/nvidia/ampere
16+
17+
../../../common/pc/laptop
18+
../../../common/pc/ssd
19+
20+
../../battery.nix
21+
];
22+
23+
hardware.nvidia = {
24+
dynamicBoost.enable = mkDefault true;
25+
26+
powerManagement = {
27+
enable = mkDefault true;
28+
finegrained = mkDefault true;
29+
};
30+
31+
prime = {
32+
amdgpuBusId = "PCI:1:0:0";
33+
nvidiaBusId = "PCI:101:0:0";
34+
};
35+
};
36+
}

flake.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
asus-rog-strix-g713ie = import ./asus/rog-strix/g713ie;
4747
asus-rog-strix-g733qs = import ./asus/rog-strix/g733qs;
4848
asus-rog-strix-x570e = import ./asus/rog-strix/x570e;
49+
asus-zenbook-um6702 = import ./asus/zenbook/um6702;
4950
asus-zenbook-ux371 = import ./asus/zenbook/ux371;
5051
asus-zenbook-ux535 = import ./asus/zenbook/ux535;
5152
asus-zenbook-ux481-intelgpu = import ./asus/zenbook/ux481/intelgpu;

0 commit comments

Comments
 (0)