-
-
Notifications
You must be signed in to change notification settings - Fork 929
Expand file tree
/
Copy pathdefault.nix
More file actions
32 lines (28 loc) · 648 Bytes
/
default.nix
File metadata and controls
32 lines (28 loc) · 648 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ lib, ... }:
{
imports = [
../../common/cpu/amd
../../common/cpu/amd/pstate.nix
../../common/gpu/amd
../../common/gpu/nvidia/prime.nix
../../common/gpu/nvidia/ampere
../../common/pc/laptop
../../common/pc/ssd
];
hardware.nvidia = {
modesetting.enable = lib.mkDefault true;
open = lib.mkDefault false;
nvidiaSettings = lib.mkDefault true;
dynamicBoost.enable = lib.mkDefault true;
prime = {
amdgpuBusId = "PCI:0:6:0";
nvidiaBusId = "PCI:0:1:0";
};
};
services = {
asusd = {
enable = lib.mkDefault true;
};
supergfxd.enable = lib.mkDefault true;
};
}