This repository has been archived on 2024-07-08. You can view files and clone it, but cannot push or open issues or pull requests.
nix-config-tn/nixos/profiles/hw-gaming-desktop.nix

37 lines
745 B
Nix
Raw Normal View History

2024-03-24 21:56:47 -05:00
{ config, lib, pkgs, imports, boot, ... }:
with lib;
{
2024-03-25 06:51:18 -05:00
# Enable module for NVIDIA graphics
mySystem.hardware.nvidia.enable = true;
2024-03-25 06:51:18 -05:00
mySystem.system.packages = with pkgs; [
ntfs3g
];
2024-03-24 21:56:47 -05:00
boot = {
2024-03-25 04:12:54 -05:00
2024-03-24 21:56:47 -05:00
initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
2024-03-25 04:12:54 -05:00
2024-03-25 06:51:18 -05:00
# for managing/mounting ntfs
supportedFilesystems = [ "ntfs" ];
2024-03-24 21:56:47 -05:00
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
# why not ensure we can memtest workstatons easily?
grub.memtest86.enable = true;
};
};
# set xserver videodrivers for NVIDIA 4080 gpu
services.xserver.videoDrivers = [ "nvidia" ];
}