Commit 18e9f97 1 parent 3e2ea8a commit 18e9f97 Copy full SHA for 18e9f97
File tree 5 files changed +25
-23
lines changed
5 files changed +25
-23
lines changed Original file line number Diff line number Diff line change 1
1
{ lib , ... } :
2
2
{
3
3
imports = [
4
- ../../../common/cpu/intel/kaby-lake
5
- ../../../common/pc/laptop
6
- ./xps-common.nix
4
+ ./shared.nix
7
5
] ;
8
-
9
- # Includes the Wi-Fi and Bluetooth firmware
10
- hardware . enableRedistributableFirmware = lib . mkDefault true ;
11
6
}
Original file line number Diff line number Diff line change 1
1
{
2
2
imports = [
3
- ../../../../common/cpu/intel
4
- ../../../../common/pc/laptop
5
3
../../../../common/gpu/nvidia/disable.nix
6
- ../xps-common .nix
4
+ ../shared .nix
7
5
] ;
6
+
7
+ # Disables the Nvidia GPU, better for battery life
8
8
}
Original file line number Diff line number Diff line change 1
1
{ ... } :
2
-
3
2
{
4
3
imports = [
5
- ../../../../common/cpu/intel
6
4
../../../../common/gpu/nvidia/prime.nix
7
5
../../../../common/gpu/nvidia/pascal
8
- ../../../../common/pc/laptop
9
- ../xps-common.nix
6
+ ../shared.nix
10
7
] ;
11
8
12
9
Original file line number Diff line number Diff line change
1
+ { lib , ... } :
2
+ {
3
+
4
+ imports = [
5
+ ../../../common/cpu/intel/coffee-lake
6
+ ../../../common/pc/laptop
7
+ ] ;
8
+
9
+ # Solution to rcu_sched freezing
10
+ boot . kernelParams = [ "acpi_rev_override" ] ;
11
+
12
+ # This will save you money and possibly your life!
13
+ # https://github.com/NixOS/nixos-hardware/pull/127
14
+ services . thermald . enable = lib . mkDefault true ;
15
+
16
+ hardware . graphics = {
17
+ enable = lib . mkDefault true ;
18
+ enable32Bit = lib . mkDefault true ;
19
+ } ;
20
+ }
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments