dotfiles/nixos/hardware-configuration.nix

32 lines
936 B
Nix
Raw Normal View History

2016-06-19 02:45:00 +00:00
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, ... }:
{
imports =
[ <nixpkgs/nixos/modules/installer/scan/not-detected.nix>
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "fbcon" "kvm-intel" "wl" ];
boot.extraModulePackages = [ config.boot.kernelPackages.broadcom_sta ];
2016-06-19 02:45:00 +00:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/0a891d7e-a4db-4c93-ab49-1b5c0a464081";
fsType = "ext4";
options = ["noatime" "nodiratime" "discard"];
};
2016-06-19 02:45:00 +00:00
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/6F68-23E6";
fsType = "vfat";
};
2016-06-19 02:45:00 +00:00
swapDevices =
[ { device = "/dev/disk/by-uuid/1b0eb760-07c0-4919-bc2b-c41cb89fbea2"; }
];
2016-06-19 02:45:00 +00:00
nix.maxJobs = lib.mkDefault 4;
2016-06-19 02:45:00 +00:00
}