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

30 lines
500 B
Nix
Raw Normal View History

2024-04-11 04:05:30 -04:00
{
lib,
...
}:
let
inherit (lib) mkDefault;
in
{
imports = [
../.
];
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
};
}