nix-config/modules/hosts/dnsc-machine/_hardware-configuration.nix
2026-03-03 21:51:59 +01:00

36 lines
771 B
Nix

{ lib, ... }:
{
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/30277f94-8b7b-4e91-8438-6815170edfdd";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/4DC9-7AB7";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ { device = "/dev/disk/by-uuid/9b7564e7-2deb-4432-a4fc-d18d21ef2d11"; } ];
networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault true;
}