mirror of
https://github.com/Nickiel12/nicks-nix-config.git
synced 2024-11-26 14:45:29 -08:00
36 lines
735 B
Nix
36 lines
735 B
Nix
{ config, ... }:
|
|
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
];
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.opengl.enable = true;
|
|
|
|
# Optionally, you may need to select the appropriate driver version for your specific GPU.
|
|
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
|
|
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 = ''
|
|
'';
|
|
};
|
|
};
|
|
|
|
boot.supportedFilesystems = [ "ntfs" ];
|
|
}
|