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

37 lines
735 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 = ''
'';
};
};
2023-03-09 19:33:18 -08:00
boot.supportedFilesystems = [ "ntfs" ];
2023-02-25 17:19:34 -08:00
}