config/machines/thor/hardware-configuration.nix

36 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2022-01-10 09:53:42 +01: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, modulesPath, ... }:
{
2022-01-12 00:20:57 +01:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
2022-01-10 09:53:42 +01:00
];
2022-01-12 00:20:57 +01:00
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
2022-01-10 09:53:42 +01:00
2022-01-12 00:20:57 +01:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/f3cdd2ab-62ba-4d72-8a28-b3adc0ec3997";
fsType = "ext4";
2022-01-10 09:53:42 +01:00
};
2022-01-12 00:20:57 +01:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/3691-F2E6";
fsType = "vfat";
2022-01-10 09:53:42 +01:00
};
2022-01-12 00:20:57 +01:00
fileSystems."/nix" = {
device = "/dev/disk/by-uuid/e317d7a7-c11c-4f3a-afda-0fd949f5633c";
fsType = "btrfs";
2022-01-10 09:53:42 +01:00
};
2022-01-12 00:20:57 +01:00
swapDevices = [ { label = "swap"; } ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2022-01-10 09:53:42 +01:00
}