@jaspermayone.com's dotfiles
1# Hardware configuration for horace
2# Generated by 'nixos-generate-config'
3{
4 config,
5 lib,
6 pkgs,
7 modulesPath,
8 ...
9}:
10
11{
12 imports = [
13 (modulesPath + "/installer/scan/not-detected.nix")
14 ];
15
16 boot.initrd.availableKernelModules = [
17 "xhci_pci"
18 "ahci"
19 "sdhci_pci"
20 ];
21 boot.initrd.kernelModules = [ ];
22 boot.kernelModules = [ "kvm-intel" ];
23 boot.extraModulePackages = [ ];
24
25 fileSystems."/" = {
26 device = "/dev/disk/by-uuid/4a20f65f-aba4-4436-979e-3fb6150f9189";
27 fsType = "ext4";
28 };
29
30 fileSystems."/boot" = {
31 device = "/dev/disk/by-uuid/A280-6001";
32 fsType = "vfat";
33 options = [
34 "fmask=0077"
35 "dmask=0077"
36 ];
37 };
38
39 swapDevices = [
40 { device = "/dev/disk/by-uuid/8516975c-9b9c-4cb9-9f11-67d3527b832d"; }
41 ];
42
43 nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
44 hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
45}