all repos — char/flake @ 5756068a8eec9b8bf2178c876eb1d653dd691257

nixos flake

profiles/runestone/hardware-configuration.nix (view raw)

 1{ config, lib, modulesPath, ... }: {
 2  imports =
 3    [
 4      (modulesPath + "/installer/scan/not-detected.nix")
 5    ];
 6
 7  boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
 8  boot.initrd.kernelModules = [ ];
 9  boot.kernelModules = [ "kvm-intel" ];
10  boot.extraModulePackages = [ ];
11
12  fileSystems."/" =
13    {
14      device = "/dev/disk/by-uuid/a69298ce-9e01-43d4-b395-ddec19dc4a42";
15      fsType = "ext4";
16    };
17
18  fileSystems."/boot" =
19    {
20      device = "/dev/disk/by-uuid/92E6-F710";
21      fsType = "vfat";
22      options = [ "fmask=0077" "dmask=0077" ];
23    };
24
25  swapDevices =
26    [{ device = "/dev/disk/by-uuid/ded24e03-a766-49eb-b494-071a9ac45423"; }];
27
28  networking.useDHCP = lib.mkDefault true;
29
30  nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
31  hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
32}