File tree Expand file tree Collapse file tree 4 files changed +80
-1
lines changed
Expand file tree Collapse file tree 4 files changed +80
-1
lines changed Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ See code for all available configurations.
109109| [ Asus ROG Ally RC71L (2023)] ( asus/ally/rc71l ) | ` <nixos-hardware/asus/ally/rc71l> ` | ` asus-ally-rc71l ` |
110110| [ Asus ROG Flow X13 GV302X\* (2023)] ( asus/flow/gv302x/amdgpu ) | ` <nixos-hardware/asus/flow/gv302x/amdgpu> ` | ` asus-flow-gv302x-amdgpu ` |
111111| [ Asus ROG Flow X13 GV302X\* (2023)] ( asus/flow/gv302x/nvidia ) | ` <nixos-hardware/asus/flow/gv302x/nvidia> ` | ` asus-flow-gv302x-nvidia ` |
112+ | [ Asus ROG Flow Z13 gz301vu\* (2023)] ( asus/flow/gz301vu ) | ` <nixos-hardware/asus/flow/gz301vu> ` | ` asus-flow-gz301vu ` |
112113| [ Asus ROG GL552VW] ( asus/rog-gl552vw ) | ` <nixos-hardware/asus/rog-gl552vw> ` | ` asus-rog-gl552vw ` |
113114| [ Asus ROG Strix G513IM] ( asus/rog-strix/g513im ) | ` <nixos-hardware/asus/rog-strix/g513im> ` | ` asus-rog-strix-g513im ` |
114115| [ Asus ROG Strix G533ZW] ( asus/rog-strix/g533zw ) | ` <nixos-hardware/asus/rog-strix/g533zw> ` | ` asus-rog-strix-g533zw ` |
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ config ,
3+ pkgs ,
4+ lib ,
5+ ...
6+ } :
7+
8+ let
9+ inherit ( lib )
10+ mkDefault
11+ mkMerge
12+ ;
13+ in
14+ {
15+
16+ imports = [
17+ ../../../common/cpu/intel/raptor-lake
18+ ../../../common/gpu/intel/raptor-lake
19+ ../../../common/gpu/nvidia/ada-lovelace
20+ ../../../common/gpu/nvidia/prime.nix
21+ ../../../common/pc/laptop
22+ ../../../common/pc/ssd
23+ ] ;
24+
25+ config = mkMerge [
26+ {
27+ # Configure basic system settings:
28+ boot = {
29+ blacklistedKernelModules = [ "nouveau" ] ;
30+ kernelModules = [ "kvm-intel" ] ;
31+ kernelParams = [
32+ "mem_sleep_default=deep"
33+ "pcie_aspm.policy=powersupersave"
34+ ] ;
35+ } ;
36+
37+ services = {
38+ asusd = {
39+ enable = mkDefault true ;
40+ enableUserService = mkDefault true ;
41+ } ;
42+
43+ supergfxd . enable = mkDefault true ;
44+
45+ } ;
46+
47+ #flow devices are 2 in 1 laptops
48+ hardware . sensor . iio . enable = mkDefault true ;
49+
50+ hardware = {
51+
52+ nvidia = {
53+
54+ modesetting . enable = true ;
55+ nvidiaSettings = mkDefault true ;
56+
57+ prime = {
58+ offload = {
59+ enable = mkDefault true ;
60+ enableOffloadCmd = mkDefault true ;
61+ } ;
62+ intelBusId = "PCI:0:2:0" ;
63+ nvidiaBusId = "PCI:1:0:0" ;
64+ } ;
65+
66+ powerManagement = {
67+ enable = mkDefault true ;
68+ finegrained = mkDefault true ;
69+ } ;
70+
71+ dynamicBoost . enable = mkDefault true ;
72+
73+ } ;
74+ } ;
75+
76+ }
77+ ] ;
78+ }
Original file line number Diff line number Diff line change 7575 asus-fa507rm = import ./asus/fa507rm ;
7676 asus-flow-gv302x-amdgpu = import ./asus/flow/gv302x/amdgpu ;
7777 asus-flow-gv302x-nvidia = import ./asus/flow/gv302x/nvidia ;
78+ asus-flow-gz301vu = import ./asus/flow/gz301vu ;
7879 asus-pro-ws-x570-ace = import ./asus/pro-ws-x570-ace ;
7980 asus-rog-gl552vw = import ./asus/rog-gl552vw ;
8081 asus-rog-strix-g513im = import ./asus/rog-strix/g513im ;
You can’t perform that action at this time.
0 commit comments