nicks-nix-config/hosts/desktop/default.nix

35 lines
692 B
Nix
Raw Normal View History

{ config, ... }:
2023-02-25 17:19:34 -08:00
{
imports = [
./hardware-configuration.nix
];
services.xserver.videoDrivers = [ "nvidia" ];
hardware.opengl.enable = true;
2023-02-25 17:19:34 -08:00
# Optionally, you may need to select the appropriate driver version for your specific GPU.
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
2023-02-25 17:19:34 -08:00
hardware.bluetooth.enable = true;
time.hardwareClockInLocalTime = true;
boot.loader = {
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
grub = {
devices = [ "nodev" ];
efiSupport = true;
enable = true;
version = 2;
useOSProber = true;
extraEntries = ''
'';
};
};
}