mirror of
https://github.com/NixOS/nixos-hardware
synced 2024-11-13 22:49:41 +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;
|
|
}
|