mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2025-11-05 17:38:41 +08:00
Add GPD Win Mini 2024 to the configuration list. (#1099)
Add GPD Win Mini 2024 to the configuration list. (#1099) lenovo: fix unstable wifi on Yoga laptops Add extra modprobe options to fix unstable wifi on Yoga laptops. * Merge branch 'NixOS:master' into master * Add basic GPD Mini configuration. * Merge branch 'NixOS:master' into master * flake: Restore flake.nix to original format Restore the flake.nix file to the original format from nixos-hardware master.
This commit is contained in:
1
gpd/win-mini/2024/README.md
Normal file
1
gpd/win-mini/2024/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# GPD Win Mini 2024
|
||||
12
gpd/win-mini/2024/default.nix
Normal file
12
gpd/win-mini/2024/default.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, lib, ... }:
|
||||
with lib;
|
||||
{
|
||||
imports = [
|
||||
./..
|
||||
../../../common/cpu/amd
|
||||
../../../common/cpu/amd/pstate.nix
|
||||
../../../common/gpu/amd
|
||||
];
|
||||
|
||||
hardware.bluetooth.enable = true;
|
||||
}
|
||||
17
gpd/win-mini/default.nix
Normal file
17
gpd/win-mini/default.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.hardware.gpd.ppt;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../common/pc/laptop
|
||||
../../common/pc/ssd
|
||||
../../common/hidpi.nix
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user