mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
Massive refactoring in configurable modules
This commit is contained in:
commit
4319f5a3cc
14 changed files with 603 additions and 0 deletions
8
hardware/amd.nix
Normal file
8
hardware/amd.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
inherit (cfg);
|
||||
in
|
||||
{
|
||||
boot.initrd.kernelModules = [ "amdgpu" ];
|
||||
}
|
||||
8
hardware/intel.nix
Normal file
8
hardware/intel.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
#let
|
||||
# inherit (cfg);
|
||||
#in
|
||||
{
|
||||
boot.initrd.kernelModules = [ "i915" ];
|
||||
}
|
||||
8
hardware/nvidia.nix
Normal file
8
hardware/nvidia.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
with lib;
|
||||
let
|
||||
inherit (cfg);
|
||||
in
|
||||
{
|
||||
boot.initrd.kernelModules = [ "nouveau" ];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue