diff options
| author | seth <[email protected]> | 2024-03-11 17:00:49 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-03-11 17:44:32 -0400 |
| commit | 168e7f15443c1050bdee09a83ac209a9d2e5da4e (patch) | |
| tree | 366e1055dc29072bce1123df50f246e978edc8e1 /systems/glados/gpu.nix | |
| parent | 4e53d30cc5d1d74b4310213e98f28300dd85e5df (diff) | |
glados: enable nvidia fbdev
Diffstat (limited to 'systems/glados/gpu.nix')
| -rw-r--r-- | systems/glados/gpu.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/systems/glados/gpu.nix b/systems/glados/gpu.nix index d40a5ff..8e494c7 100644 --- a/systems/glados/gpu.nix +++ b/systems/glados/gpu.nix @@ -3,7 +3,11 @@ lib, pkgs, ... -}: { +}: let + usingNvidia = lib.elem "nvidia" config.services.xserver.videoDrivers; +in { + boot.kernelParams = lib.optional usingNvidia "nvidia_drm.fbdev=1"; + services.xserver.videoDrivers = ["nvidia"]; hardware = { |
