mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-12-27 03:59:45 +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;
|
|
}
|