diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | dell/xps/15-7590/default.nix | 7 | ||||
-rw-r--r-- | lenovo/thinkpad/e495/default.nix | 11 | ||||
-rw-r--r-- | lenovo/thinkpad/l13/default.nix | 10 |
4 files changed, 30 insertions, 0 deletions
@@ -43,6 +43,8 @@ See code for all available configurations. | [Dell XPS 15 9550][] | `<nixos-hardware/dell/xps/15-9550>` | | [Inverse Path USB armory][] | `<nixos-hardware/inversepath/usbarmory>` | | Lenovo IdeaPad Z510 | `<nixos-hardware/lenovo/ideapad/z510>` | +| Lenovo ThinkPad E495 | `<nixos-hardware/lenovo/thinkpad/e495>` | +| Lenovo ThinkPad L13 | `<nixos-hardware/lenovo/thinkpad/l13>` | | Lenovo ThinkPad P53 | `<nixos-hardware/lenovo/thinkpad/p53>` | | Lenovo ThinkPad T410 | `<nixos-hardware/lenovo/thinkpad/t410>` | | Lenovo ThinkPad T420 | `<nixos-hardware/lenovo/thinkpad/t420>` | diff --git a/dell/xps/15-7590/default.nix b/dell/xps/15-7590/default.nix index b7c5b66..2fcaf8b 100644 --- a/dell/xps/15-7590/default.nix +++ b/dell/xps/15-7590/default.nix @@ -10,6 +10,13 @@ # Set to true for just the first run, then disable it. # boot.loader.efi.canTouchEfiVariables = lib.mkDefault true; + # Load GPU drivers. + # hardware.bumblebee.enable = lib.mkDefault true; + + # High DPI for X users. 175 "looks reasonable" but I didn't do the actual DPI + # calculation. + # services.xserver.dpi = lib.mkDefault 175; + # Earlier font-size setup console.earlySetup = true; diff --git a/lenovo/thinkpad/e495/default.nix b/lenovo/thinkpad/e495/default.nix new file mode 100644 index 0000000..51ddb5c --- /dev/null +++ b/lenovo/thinkpad/e495/default.nix @@ -0,0 +1,11 @@ +{ config, lib, pkgs, ... }: + +{ + imports = [ + ../. + ../../../common/cpu/amd + ]; + + # see https://github.com/NixOS/nixpkgs/issues/69289 + boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "5.2") pkgs.linuxPackages_latest; +} diff --git a/lenovo/thinkpad/l13/default.nix b/lenovo/thinkpad/l13/default.nix new file mode 100644 index 0000000..3c09f50 --- /dev/null +++ b/lenovo/thinkpad/l13/default.nix @@ -0,0 +1,10 @@ +{ nixos, lib, pkgs, config, stdenv, ... }: +{ + imports = [ + ../../../common/cpu/intel + ../../../common/pc/laptop/acpi_call.nix + ../. + ]; + + services.throttled.enable = lib.mkDefault true; +} |