mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Hardware] Add good intel support and basic nvidia support
This commit is contained in:
parent
7c6198be6f
commit
6322c89fb6
4 changed files with 44 additions and 13 deletions
|
|
@ -1,8 +1,10 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
inherit (cfg);
|
||||
hardwareCfg = config.aviallon.hardware;
|
||||
in
|
||||
{
|
||||
boot.initrd.kernelModules = [ "nouveau" ];
|
||||
config = mkIf (hardwareCfg.gpuVendor == "nvidia") {
|
||||
boot.initrd.kernelModules = [ "nouveau" ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue