mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-27 05:19:43 +01:00
8 lines
261 B
Nix
8 lines
261 B
Nix
{ lib, ... }:
|
|
|
|
{
|
|
imports = [ ../24.05-compat.nix ];
|
|
services.xserver.videoDrivers = lib.mkDefault [ "nvidia" ];
|
|
# TODO: this will be a default after https://github.com/NixOS/nixpkgs/pull/326369
|
|
hardware.nvidia.modesetting.enable = lib.mkDefault true;
|
|
}
|