Files
nixos/hosts/Heracles/hardware-configuration.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

# 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" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
2026-04-16 01:30:19 +02:00
{ device = "/dev/disk/by-uuid/633703b9-81c0-4d2b-9829-e5e92b2778be";
fsType = "ext4";
};
fileSystems."/boot" =
2026-04-16 01:30:19 +02:00
{ device = "/dev/disk/by-uuid/91F8-889D";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
2026-04-16 01:30:19 +02:00
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/dffd60ce-8d81-495e-8e60-9b985d39f15e";
fsType = "ext4";
};
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}