more nvidia shit IIIII
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
lanzaboote.enable = true;
|
||||
};
|
||||
kernel = {
|
||||
variant = "latest";
|
||||
variant = "cachyos";
|
||||
hardware = "nvidia";
|
||||
extraKernelParams = [];
|
||||
extraBlacklistedModules = [];
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
# kernel.nix
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
@@ -56,8 +55,8 @@ in {
|
||||
++ (
|
||||
if cfg.hardware == "amd"
|
||||
then ["amd_pstate=active"]
|
||||
else if cfg.hardware == "nvidia"
|
||||
then ["nvidia-drm.modeset=1" "nvidia-drm.fbdev=1"]
|
||||
# else if cfg.hardware == "nvidia"
|
||||
# then []
|
||||
else []
|
||||
)
|
||||
++ cfg.extraKernelParams;
|
||||
|
||||
Reference in New Issue
Block a user