2020-10-01 15:46:04 -07:00
|
|
|
{ config, lib, modulesPath, ... }:
|
2020-01-17 13:29:43 -08:00
|
|
|
{
|
2020-10-01 15:46:04 -07:00
|
|
|
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
2020-01-17 13:29:43 -08:00
|
|
|
|
2020-10-01 15:46:04 -07:00
|
|
|
boot = {
|
|
|
|
initrd.availableKernelModules = [ "ohci_pci" "ehci_pci" "ahci" "firewire_ohci" "usb_storage" "usbhid" "sd_mod" "sr_mod" "sdhci_pci" ];
|
|
|
|
initrd.kernelModules = [ ];
|
|
|
|
kernelModules = [ "kvm-intel" "wl" ];
|
2020-12-18 23:48:23 -08:00
|
|
|
extraModulePackages = [];
|
2020-10-01 15:46:04 -07:00
|
|
|
};
|
2020-01-17 13:29:43 -08:00
|
|
|
|
|
|
|
## CPU
|
|
|
|
nix.maxJobs = lib.mkDefault 2;
|
|
|
|
|
|
|
|
## Harddrives
|
|
|
|
fileSystems = {
|
|
|
|
"/" = {
|
|
|
|
device = "/dev/disk/by-label/nixos";
|
|
|
|
fsType = "ext4";
|
|
|
|
options = [ "noatime" ];
|
|
|
|
};
|
|
|
|
"/boot" = {
|
|
|
|
device = "/dev/disk/by-label/boot";
|
|
|
|
fsType = "vfat";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
swapDevices = [{ device = "/dev/disk/by-label/swap"; }];
|
|
|
|
}
|