mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-04-27 07:48:44 +02:00
harware/graphics: add nvidia and rename to gpu
Some checks are pending
/ Build Nix targets (push) Waiting to run
Some checks are pending
/ Build Nix targets (push) Waiting to run
This commit is contained in:
parent
2a44b8e852
commit
7909067dc7
4 changed files with 13 additions and 20 deletions
|
|
@ -2,9 +2,6 @@
|
|||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cpuFlavor = "intel";
|
||||
in
|
||||
{
|
||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
||||
|
||||
|
|
@ -17,11 +14,11 @@ in
|
|||
};
|
||||
firmware = {
|
||||
enable = true;
|
||||
inherit cpuFlavor;
|
||||
cpuFlavor = "intel";
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
inherit cpuFlavor;
|
||||
gpuFlavor = "nvidia";
|
||||
};
|
||||
keychron.enable = true;
|
||||
yubikey.enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue