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

31 lines
541 B
Nix
Raw Normal View History

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