16 lines
373 B
Nix
16 lines
373 B
Nix
{ ... }:
|
|
{
|
|
flake.modules.nixos.core_nvidiagpu-legacy580 =
|
|
{ config, ... }:
|
|
{
|
|
hardware = {
|
|
graphics.enable = true;
|
|
nvidia = {
|
|
open = false;
|
|
modesetting.enable = true;
|
|
package = config.boot.kernelPackages.nvidiaPackages.legacy_580;
|
|
};
|
|
};
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
};
|
|
}
|