This commit is contained in:
Bryan Ramos 2023-03-22 00:11:44 -04:00
commit a79fc67d37
647 changed files with 123931 additions and 0 deletions

40
sysConfig/hardware.nix Normal file
View file

@ -0,0 +1,40 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[
(modulesPath + "/installer/scan/not-detected.nix")
];
## KERNEL MODULES
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ "dm-snapshot" ];
boot.kernelModules = [ "coretemp" ];
boot.extraModulePackages = [ ];
boot.kernelPackages = pkgs.linuxPackages_latest;
# FSTAB
fileSystems."/" =
{ device = "/dev/disk/by-uuid/af24c5b3-8a6e-4333-a61d-922a97928cae";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/1639ee20-28d6-4649-814d-ba981c138b35";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/74B9-4AAF";
fsType = "vfat";
};
## CPU
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}