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

31 lines
541 B
Nix
Raw Permalink Normal View History

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