File tree 2 files changed +15
-2
lines changed
2 files changed +15
-2
lines changed Original file line number Diff line number Diff line change 6
6
../../../common/gpu/nvidia/prime.nix
7
7
../../../common/gpu/nvidia/ada-lovelace
8
8
../../../common/pc/laptop
9
- ../../../common/pc/ssd
9
+ ../../../common/pc/laptop/ssd
10
+ ../shared/backlight.nix
10
11
] ;
11
12
12
13
hardware . nvidia = {
15
16
nvidiaBusId = "PCI:1:0:0" ;
16
17
} ;
17
18
19
+ modesetting . enable = lib . mkDefault true ;
18
20
dynamicBoost . enable = lib . mkDefault true ;
19
21
} ;
20
22
23
25
24
26
udev . extraHwdb = ''
25
27
evdev:name:*:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:*
26
- KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
28
+ KEYBOARD_KEY_ff31007c=f20 # fixes mic mute button
29
+ KEYBOARD_KEY_ff3100b2=home # Set fn+LeftArrow as Home
30
+ KEYBOARD_KEY_ff3100b3=end # Set fn+RightArrow as End
27
31
'' ;
28
32
} ;
29
33
}
Original file line number Diff line number Diff line change
1
+ { ... } :
2
+ {
3
+ # These flags are used to enable backlight control when the dGPU is working in hybrid mode
4
+ boot . kernelParams = [
5
+ "i915.enable_dpcd_backlight=1"
6
+ "nvidia.NVreg_EnableBacklightHandler=0"
7
+ "nvidia.NVReg_RegistryDwords=EnableBrightnessControl=0"
8
+ ] ;
9
+ }
You can’t perform that action at this time.
0 commit comments