nixos/hardware-configuration-wired.nix

34 lines
1023 B
Nix
Raw Normal View History

2026-03-03 20:15:25 +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 = [ "xhci_pci" "nvme" "sdhci_pci" ];
2026-03-03 20:15:25 +01:00
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
2026-03-03 20:15:25 +01:00
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fbea1f31-4ad2-42f7-857a-15f7a1250793";
2026-03-03 20:15:25 +01:00
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/9B5B-14D1";
2026-03-03 20:15:25 +01:00
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/440b6cb1-02bf-4bda-998c-575589ec415a"; }
];
2026-03-03 20:15:25 +01:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2026-03-03 20:15:25 +01:00
}