1
0
Fork 0
mirror of https://github.com/NixOS/nixos-hardware synced 2024-12-19 16:19:45 +01:00
nixos-hardware/apple/macmini/4/default.nix

29 lines
511 B
Nix
Raw Normal View History

2024-04-11 10:05:30 +02:00
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../.
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
hardware.opengl = {
enable = mkDefault true;
driSupport = mkDefault true;
driSupport32Bit = mkDefault true;
};
hardware.nvidia = {
modesetting.enable = mkDefault true;
powerManagement.enable = mkDefault false;
powerManagement.finegrained = mkDefault false;
open = mkDefault false;
nvidiaSettings = mkDefault true;
};
}