mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-04 17:27:14 +08:00
Add Framework Laptop 16 AMD AI 300 Series
Signed-off-by: Daniel Schaefer <dhs@frame.work>
This commit is contained in:
25
framework/16-inch/amd-ai-300-series/README.md
Normal file
25
framework/16-inch/amd-ai-300-series/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# [Framework Laptop 16 AMD AI 300 Series](https://frame.work/)
|
||||
|
||||
## nvidia
|
||||
|
||||
If you have an nvidia dGPU module, you can enable it via the nvidia open drivers:
|
||||
|
||||
```
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.nvidia.open = true; # see the note above
|
||||
```
|
||||
|
||||
See also [NVIDIA](https://wiki.nixos.org/wiki/NVIDIA) on the NixOS Wiki.
|
||||
|
||||
## Updating Firmware
|
||||
|
||||
Everything is updateable through fwupd, so it's enabled by default.
|
||||
|
||||
To get the latest firmware, run:
|
||||
|
||||
```sh
|
||||
$ fwupdmgr refresh
|
||||
$ fwupdmgr update
|
||||
```
|
||||
|
||||
- [Latest Update](https://fwupd.org/lvfs/devices/work.frame.Laptop16.RyzenAI300.BIOS.firmware)
|
||||
21
framework/16-inch/amd-ai-300-series/default.nix
Normal file
21
framework/16-inch/amd-ai-300-series/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../common
|
||||
../common/amd.nix
|
||||
];
|
||||
|
||||
# 6.14 is the minimum recommended kernel, 6.15 has many useful changes, too
|
||||
boot.kernelPackages = lib.mkIf (lib.versionOlder pkgs.linux.version "6.15") (
|
||||
lib.mkDefault pkgs.linuxPackages_latest
|
||||
);
|
||||
|
||||
# Everything is updateable through fwupd
|
||||
services.fwupd.enable = true;
|
||||
}
|
||||
Reference in New Issue
Block a user