2023-02-26 18:02:09 -08:00
|
|
|
{ config, ... }:
|
2023-02-25 17:19:34 -08:00
|
|
|
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./hardware-configuration.nix
|
|
|
|
];
|
2023-05-06 10:36:52 -07:00
|
|
|
|
|
|
|
networking.hosts = {
|
|
|
|
"10.0.0.183" = [ "files.nickiel.net" "git.nickiel.net" "nickiel.net" "jellyfin.nickiel.net" ];
|
|
|
|
};
|
2023-02-26 18:02:09 -08:00
|
|
|
|
|
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
|
|
hardware.opengl.enable = true;
|
2023-02-25 17:19:34 -08:00
|
|
|
|
2023-02-26 18:02:09 -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
|
|
|
}
|