mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-08 19:46:10 +01: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:
parent
a4bb30a900
commit
7d9552ef6b
113 changed files with 121 additions and 122 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
../.
|
||||
];
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel/kaby-lake
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# available cpufreq governors: performance powersave
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
# might need nvidia module but we don't know the PCI ids:
|
||||
# https://github.com/NixOS/nixos-hardware/pull/274#discussion_r650483740
|
||||
#../../../common/gpu/nvidia/prime.nix
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# Need to set Thunderbolt to "BIOS Assist Mode"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# Force use of the amdgpu driver for backlight control on kernel versions where the
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel/whiskey-lake
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
../../../common/gpu/nvidia/pascal
|
||||
../../../common/gpu/nvidia/prime-sync.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# For suspending to RAM to work, set Config -> Power -> Sleep State to "Linux" in EFI.
|
||||
|
|
|
|||
|
|
@ -2,6 +2,6 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# Use the right Intel graphics driver
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# Use the right Intel graphics driver
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
hardware.trackpoint.device = "TPPS/2 Synaptics TrackPoint";
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../../common/cpu/intel/haswell
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
services.throttled.enable = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../../common/cpu/intel/kaby-lake
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# New ThinkPads have a different TrackPoint manufacturer/name.
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
services.throttled.enable = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../common/pc/laptop/ssd
|
||||
../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# This solves lagging noticeable on high-resolution screens.
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ lib, pkgs, ... }: {
|
||||
imports = [
|
||||
../.
|
||||
../../../../../common/pc/laptop/ssd
|
||||
../../../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# At least kernel 5.19 is required for the system to work properly.
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
imports = [
|
||||
../.
|
||||
../../../../../common/pc/laptop/ssd
|
||||
../../../../../common/pc/ssd
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
../.
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
# Somehow psmouse does not load automatically on boot for me
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
boot.kernelParams = [
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd/default.nix
|
||||
../../../common/pc/ssd/default.nix
|
||||
];
|
||||
|
||||
services.throttled.enable = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
imports = [
|
||||
../.
|
||||
../../../common/cpu/intel
|
||||
../../../common/pc/laptop/ssd/default.nix
|
||||
../../../common/pc/ssd/default.nix
|
||||
];
|
||||
|
||||
services.throttled.enable = lib.mkDefault true;
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
../../../common/cpu/amd/pstate.nix
|
||||
../../../common/gpu/amd
|
||||
../../../common/pc/laptop
|
||||
../../../common/pc/laptop/ssd
|
||||
../../../common/pc/ssd
|
||||
];
|
||||
|
||||
hardware.enableRedistributableFirmware = lib.mkDefault true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue