mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-03 16:57:14 +08:00
Replace symlink references by real path and delete symlink
The common/pc/laptop/ssd folder was apparently moved a level up and was replaced by a symlink to keep things working. We can consolidate this now.
This commit is contained in:
@@ -9,7 +9,7 @@
|
|||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# apple smc (TODO: check spi)
|
# apple smc (TODO: check spi)
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
../.
|
../.
|
||||||
../../common/cpu/intel
|
../../common/cpu/intel
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
../.
|
../.
|
||||||
../../common/cpu/intel
|
../../common/cpu/intel
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/24.05-compat.nix
|
../../../common/gpu/24.05-compat.nix
|
||||||
../../../common/gpu/nvidia/kepler
|
../../../common/gpu/nvidia/kepler
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/cpu/intel/haswell
|
../../../common/cpu/intel/haswell
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable broadcom-43xx firmware
|
# Enable broadcom-43xx firmware
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
"${modulesPath}/hardware/network/broadcom-43xx.nix"
|
"${modulesPath}/hardware/network/broadcom-43xx.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../.
|
../.
|
||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Make the keyboard work in stage1, enable iommu
|
# Make the keyboard work in stage1, enable iommu
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel/sandy-bridge
|
../../../common/cpu/intel/sandy-bridge
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.enableB43Firmware = lib.mkDefault true;
|
networking.enableB43Firmware = lib.mkDefault true;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../common/gpu/nvidia/prime.nix
|
../../common/gpu/nvidia/prime.nix
|
||||||
../../common/gpu/nvidia/ampere
|
../../common/gpu/nvidia/ampere
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/tiger-lake
|
../../../common/cpu/intel/tiger-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -7,12 +7,12 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/comet-lake/cpu-only.nix
|
../../../common/cpu/intel/comet-lake/cpu-only.nix
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
# These options are needed for suspend to work,
|
# These options are needed for suspend to work,
|
||||||
# otherwise the nvme will be mounted read-only on resume
|
# otherwise the nvme will be mounted read-only on resume
|
||||||
"pcie_aspm=off"
|
"pcie_aspm=off"
|
||||||
"pcie_port_pm=off"
|
"pcie_port_pm=off"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/gpu/intel/comet-lake
|
../../../common/gpu/intel/comet-lake
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/hidpi.nix # 4K screen is HiDPI
|
../../../common/hidpi.nix # 4K screen is HiDPI
|
||||||
../../battery.nix
|
../../battery.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/ampere
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/ada-lovelace
|
../../../common/gpu/nvidia/ada-lovelace
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../shared/backlight.nix
|
../shared/backlight.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../common/cpu/intel
|
../../common/cpu/intel
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
../../common/hidpi.nix
|
../../common/hidpi.nix
|
||||||
];
|
];
|
||||||
# Fixes the display being rotated 90 degrees.
|
# Fixes the display being rotated 90 degrees.
|
||||||
|
|||||||
@@ -1 +0,0 @@
|
|||||||
../ssd
|
|
||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/pascal
|
../../../common/gpu/nvidia/pascal
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Specify bus id of Nvidia and Intel graphics
|
# Specify bus id of Nvidia and Intel graphics
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/pascal
|
../../../common/gpu/nvidia/pascal
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Specify bus id of Nvidia and Intel graphics
|
# Specify bus id of Nvidia and Intel graphics
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ with lib;
|
|||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# TSC is unstable
|
# TSC is unstable
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/intel/kaby-lake
|
../../../common/gpu/intel/kaby-lake
|
||||||
../../../common/gpu/nvidia/maxwell
|
../../../common/gpu/nvidia/maxwell
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
|
|||||||
@@ -41,7 +41,7 @@ This configuration uses Nvidia Prime offloading, which allows use of the `nvidia
|
|||||||
|
|
||||||
#### SSD
|
#### SSD
|
||||||
|
|
||||||
This laptop has an optional M.2 SSD slot, which isn't accounted for here. If you are using the SSD, you could look into implementing the options in [ssd](common/pc/laptop/ssd) manually. Some sources also say you should ensure your SATA Mode is set to AHCI in your BIOS for it to be detected, however I think this is a prerequisite to installing Linux on this laptop in the first place so you probably already have that set.
|
This laptop has an optional M.2 SSD slot, which isn't accounted for here. If you are using the SSD, you could look into implementing the options in [ssd](common/pc/ssd) manually. Some sources also say you should ensure your SATA Mode is set to AHCI in your BIOS for it to be detected, however I think this is a prerequisite to installing Linux on this laptop in the first place so you probably already have that set.
|
||||||
|
|
||||||
#### Subwoofer
|
#### Subwoofer
|
||||||
|
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# touchpad goes over i2c
|
# touchpad goes over i2c
|
||||||
|
|||||||
@@ -4,12 +4,12 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Important Firmware
|
# Important Firmware
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
# Kernel Panic on suspend fix, taken from ArchLinux wiki.
|
# Kernel Panic on suspend fix, taken from ArchLinux wiki.
|
||||||
kernelParams = [ "acpi_enforce_resources=lax" "i915.enable_dc=0" ];
|
kernelParams = [ "acpi_enforce_resources=lax" "i915.enable_dc=0" ];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Essential Firmware
|
# Essential Firmware
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/tiger-lake
|
../../../common/cpu/intel/tiger-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,16 +4,16 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
# needed for Intel Iris Xe
|
# needed for Intel Iris Xe
|
||||||
"i915.force_probe=46a8"
|
"i915.force_probe=46a8"
|
||||||
"i915.enable_guc=3"
|
"i915.enable_guc=3"
|
||||||
"i915.fastboot=1"
|
"i915.fastboot=1"
|
||||||
# needed for keyboard
|
# needed for keyboard
|
||||||
"i8042.dumbkbd=1"
|
"i8042.dumbkbd=1"
|
||||||
"i8042.nopnp=1"
|
"i8042.nopnp=1"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/nvidia/pascal
|
../../../common/gpu/nvidia/pascal
|
||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/cpu/intel/coffee-lake
|
../../../common/cpu/intel/coffee-lake
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/cpu/intel/tiger-lake
|
../../../common/cpu/intel/tiger-lake
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/nvidia
|
../../../common/gpu/nvidia
|
||||||
];
|
];
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
boot.kernelParams = [ "mem_sleep_default=deep" ];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
# This will save you money and possibly your life!
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/lunar-lake
|
../../../common/cpu/intel/lunar-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# The touchpad uses I²C, so PS/2 is unnecessary
|
# The touchpad uses I²C, so PS/2 is unnecessary
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Boot loader
|
# Boot loader
|
||||||
@@ -18,7 +18,7 @@ in
|
|||||||
# Thermald doesn't have a default config for the 9500 yet, the one in this repo
|
# Thermald doesn't have a default config for the 9500 yet, the one in this repo
|
||||||
# was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
|
# was generated with dptfxtract-static (https://github.com/intel/dptfxtract)
|
||||||
services.thermald.configFile = lib.mkDefault thermald-conf;
|
services.thermald.configFile = lib.mkDefault thermald-conf;
|
||||||
|
|
||||||
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
|
# WiFi speed is slow and crashes by default (https://bugzilla.kernel.org/show_bug.cgi?id=213381)
|
||||||
# disable_11ax - required until ax driver support is fixed
|
# disable_11ax - required until ax driver support is fixed
|
||||||
# power_save - works well on this card
|
# power_save - works well on this card
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
# This will save you money and possibly your life!
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/gpu/intel/alder-lake
|
../../../common/gpu/intel/alder-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
# This will save you money and possibly your life!
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This will save you money and possibly your life!
|
# This will save you money and possibly your life!
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../bluetooth.nix
|
../../bluetooth.nix
|
||||||
../../kmod.nix
|
../../kmod.nix
|
||||||
../../framework-tool.nix
|
../../framework-tool.nix
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../bluetooth.nix
|
../../bluetooth.nix
|
||||||
../../kmod.nix
|
../../kmod.nix
|
||||||
../../framework-tool.nix
|
../../framework-tool.nix
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
../../common/cpu/intel/kaby-lake
|
../../common/cpu/intel/kaby-lake
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Needed to have the keyboard working during the initrd sequence
|
# Needed to have the keyboard working during the initrd sequence
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
../../common/cpu/intel/kaby-lake
|
../../common/cpu/intel/kaby-lake
|
||||||
../../common/hidpi.nix
|
../../common/hidpi.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
../../common/hidpi.nix
|
../../common/hidpi.nix
|
||||||
../../common/gpu/24.05-compat.nix
|
../../common/gpu/24.05-compat.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../common/pc/laptop
|
../../common/pc/laptop
|
||||||
../../common/pc/laptop/ssd
|
../../common/pc/ssd
|
||||||
../../common/cpu/amd
|
../../common/cpu/amd
|
||||||
../../common/cpu/amd/pstate.nix
|
../../common/cpu/amd/pstate.nix
|
||||||
../../common/gpu/amd
|
../../common/gpu/amd
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../../common/cpu/intel
|
../../../../common/cpu/intel
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Needed for wifi
|
# Needed for wifi
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../../common/cpu/amd/pstate.nix
|
../../../../common/cpu/amd/pstate.nix
|
||||||
../../../../common/gpu/amd
|
../../../../common/gpu/amd
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../../common/cpu/amd/pstate.nix
|
../../../../common/cpu/amd/pstate.nix
|
||||||
../../../../common/gpu/amd
|
../../../../common/gpu/amd
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../../common/cpu/amd/pstate.nix
|
../../../../common/cpu/amd/pstate.nix
|
||||||
../../../../common/gpu/amd
|
../../../../common/gpu/amd
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
../../../common/cpu/intel/tiger-lake
|
../../../common/cpu/intel/tiger-lake
|
||||||
../../../common/pc
|
../../../common/pc
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/pc
|
../../../common/pc
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|||||||
@@ -5,6 +5,6 @@
|
|||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Specify bus id of Nvidia and Intel graphics.
|
# Specify bus id of Nvidia and Intel graphics.
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia = {
|
hardware.nvidia = {
|
||||||
|
|||||||
@@ -6,6 +6,6 @@
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel/alder-lake
|
../../../common/cpu/intel/alder-lake
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
../../../common/cpu/amd
|
../../../common/cpu/amd
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../common/gpu/nvidia/ampere
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.nvidia.prime = {
|
hardware.nvidia.prime = {
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../../common/gpu/nvidia/prime.nix
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
../../../../common/gpu/nvidia/ampere
|
../../../../common/gpu/nvidia/ampere
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Still needs to load at some point if we want X11 to work
|
# Still needs to load at some point if we want X11 to work
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/turing
|
../../../common/gpu/nvidia/turing
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Specify bus id of Nvidia and Intel graphics.
|
# Specify bus id of Nvidia and Intel graphics.
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/pascal
|
../../../common/gpu/nvidia/pascal
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/pc/laptop/hdd
|
../../../common/pc/laptop/hdd
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
../../../../common/gpu/nvidia/prime.nix
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
../../../../common/gpu/nvidia/ampere
|
../../../../common/gpu/nvidia/ampere
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
../edid
|
../edid
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../../common/gpu/amd
|
../../../../common/gpu/amd
|
||||||
../../../../common/gpu/nvidia/prime.nix
|
../../../../common/gpu/nvidia/prime.nix
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver.videoDrivers = [ "nvidia" ];
|
services.xserver.videoDrivers = [ "nvidia" ];
|
||||||
@@ -25,4 +25,4 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,7 +7,7 @@
|
|||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/gpu/nvidia
|
../../../common/gpu/nvidia
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use latest LTS kernel for more Raphael fixes
|
# Use latest LTS kernel for more Raphael fixes
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
../../../../common/gpu/nvidia/prime.nix # prime offload
|
../../../../common/gpu/nvidia/prime.nix # prime offload
|
||||||
../../../../common/gpu/nvidia/ampere # use open drivers
|
../../../../common/gpu/nvidia/ampere # use open drivers
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelModules = ["amdgpu"];
|
boot.kernelModules = ["amdgpu"];
|
||||||
|
|||||||
@@ -6,6 +6,6 @@
|
|||||||
../../../../common/gpu/amd
|
../../../../common/gpu/amd
|
||||||
../../../../common/gpu/nvidia/disable.nix
|
../../../../common/gpu/nvidia/disable.nix
|
||||||
../../../../common/pc/laptop
|
../../../../common/pc/laptop
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,12 +11,12 @@ in
|
|||||||
../../../common/cpu/amd/pstate.nix
|
../../../common/cpu/amd/pstate.nix
|
||||||
../../../common/gpu/amd
|
../../../common/gpu/amd
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Kernel 6.10 includes the speaker fix, so only install this on systems with older kernels.
|
# Kernel 6.10 includes the speaker fix, so only install this on systems with older kernels.
|
||||||
boot.extraModulePackages = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.10") [ lenovo-speaker-fix ];
|
boot.extraModulePackages = lib.mkIf (lib.versionOlder config.boot.kernelPackages.kernel.version "6.10") [ lenovo-speaker-fix ];
|
||||||
|
|
||||||
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
# √(2560² + 1600²) px / 16 in ≃ 189 dpi
|
||||||
services.xserver.dpi = 189;
|
services.xserver.dpi = 189;
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/ada-lovelace
|
../../../common/gpu/nvidia/ada-lovelace
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/ada-lovelace
|
../../../common/gpu/nvidia/ada-lovelace
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
../../../common/gpu/nvidia/prime.nix
|
../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/gpu/nvidia/ampere
|
../../../common/gpu/nvidia/ampere
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/hidpi.nix
|
../../../common/hidpi.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop
|
../../../common/pc/laptop
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../.
|
../.
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel/kaby-lake
|
../../../common/cpu/intel/kaby-lake
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# available cpufreq governors: performance powersave
|
# available cpufreq governors: performance powersave
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
# might need nvidia module but we don't know the PCI ids:
|
# might need nvidia module but we don't know the PCI ids:
|
||||||
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
|
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
|
||||||
#../../../common/gpu/nvidia/prime.nix
|
#../../../common/gpu/nvidia/prime.nix
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Need to set Thunderbolt to "BIOS Assist Mode"
|
# Need to set Thunderbolt to "BIOS Assist Mode"
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Force use of the amdgpu driver for backlight control on kernel versions where the
|
# Force use of the amdgpu driver for backlight control on kernel versions where the
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel/whiskey-lake
|
../../../common/cpu/intel/whiskey-lake
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
../../../common/gpu/nvidia/pascal
|
../../../common/gpu/nvidia/pascal
|
||||||
../../../common/gpu/nvidia/prime-sync.nix
|
../../../common/gpu/nvidia/prime-sync.nix
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI.
|
# For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI.
|
||||||
|
|||||||
@@ -2,6 +2,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the right Intel graphics driver
|
# Use the right Intel graphics driver
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the right Intel graphics driver
|
# Use the right Intel graphics driver
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
|
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/cpu/intel/haswell
|
../../../../common/cpu/intel/haswell
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
services.throttled.enable = lib.mkDefault true;
|
services.throttled.enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -10,7 +10,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/cpu/intel/kaby-lake
|
../../../../common/cpu/intel/kaby-lake
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# New ThinkPads have a different TrackPoint manufacturer/name.
|
# New ThinkPads have a different TrackPoint manufacturer/name.
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
services.throttled.enable = lib.mkDefault true;
|
services.throttled.enable = lib.mkDefault true;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../common/pc/laptop/ssd
|
../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# This solves lagging noticeable on high-resolution screens.
|
# This solves lagging noticeable on high-resolution screens.
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ lib, pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../../common/pc/laptop/ssd
|
../../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# At least kernel 5.19 is required for the system to work properly.
|
# At least kernel 5.19 is required for the system to work properly.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../../../common/pc/laptop/ssd
|
../../../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{ ... }: {
|
{ ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
# Somehow psmouse does not load automatically on boot for me
|
# Somehow psmouse does not load automatically on boot for me
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop/ssd
|
../../../common/pc/ssd
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
imports = [
|
imports = [
|
||||||
../.
|
../.
|
||||||
../../../common/cpu/intel
|
../../../common/cpu/intel
|
||||||
../../../common/pc/laptop/ssd/default.nix
|
../../../common/pc/ssd/default.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
services.throttled.enable = lib.mkDefault true;
|
services.throttled.enable = lib.mkDefault true;
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user