nixos-hardware/apple/macmini/4/default.nix

31 lines
541 B
Nix
Raw Normal View History

2024-04-11 04:05:30 -04:00
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../.
2024-06-21 17:26:44 -04:00
../../../common/gpu/24.05-compat.nix
2024-04-11 04:05:30 -04:00
];
services.xserver.videoDrivers = mkDefault [ "nvidiaLegacy340" ];
2024-06-21 09:44:42 -04:00
hardware = {
graphics = {
enable = mkDefault true;
enable32Bit = mkDefault true;
};
2024-04-11 04:05:30 -04:00
2024-06-21 09:44:42 -04:00
nvidia = {
modesetting.enable = mkDefault true;
powerManagement.enable = mkDefault false;
powerManagement.finegrained = mkDefault false;
open = mkDefault false;
nvidiaSettings = mkDefault true;
};
2024-04-11 04:05:30 -04:00
};
}