nix-dotfiles/hosts/kasei/hardware-configuration.nix

39 lines
1.1 KiB
Nix
Raw Normal View History

2022-03-22 16:36:19 +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, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
2022-03-22 16:36:19 +01:00
fileSystems."/" =
{ device = "/dev/disk/by-uuid/70a0ca95-4ca4-4298-a8c4-e492705cfb93";
fsType = "btrfs";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/D883-A077";
fsType = "vfat";
};
fileSystems."/data" =
2022-04-03 18:04:06 +02:00
{ device = "/dev/disk/by-label/data1";
fsType = "btrfs";
2022-03-22 16:36:19 +01:00
};
2022-04-03 18:04:06 +02:00
fileSystems."/data/disks/data2" =
2022-03-22 16:36:19 +01:00
{ device = "/dev/disk/by-uuid/7afc5f6b-947a-4c86-a5b5-dfefe42899c0";
fsType = "ext4";
};
swapDevices = [ ];
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}