nixos-hardware/apple/macmini/4/default.nix
2024-06-21 23:50:11 +02:00

31 lines
541 B
Nix

{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../.
../../../common/gpu/24.05-compat.nix
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
hardware = {
graphics = {
enable = mkDefault true;
enable32Bit = mkDefault true;
};
nvidia = {
modesetting.enable = mkDefault true;
powerManagement.enable = mkDefault false;
powerManagement.finegrained = mkDefault false;
open = mkDefault false;
nvidiaSettings = mkDefault true;
};
};
}