ThinkPad T14 G2 AMD -> P14s G6 AMD
This commit is contained in:
parent
41a4fa9eb2
commit
5fbe4e306f
13 changed files with 226 additions and 62 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# ThinkPad T14 G2(AMD)
|
||||
# ThinkPad P14s Gen 6 AMD (Ryzen AI 7 PRO 350, Strix Point)
|
||||
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
|
|
@ -10,7 +10,7 @@
|
|||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usb_storage" "usbhid" "sd_mod" "rtsx_pci_sdmmc" ];
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-amd" ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
|
@ -40,7 +40,11 @@
|
|||
options = [ "nofail" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
# Encrypted swapfile on LUKS root, sized for hibernate (RAM + headroom).
|
||||
# NixOS auto-creates the file and computes resume offset on activation.
|
||||
swapDevices = [
|
||||
{ device = "/var/swapfile"; size = 59392; } # 58 GiB, RAM is 54 GiB
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue