hardware config fixed

This commit is contained in:
2026-06-18 21:20:07 -05:00
parent a8a2338388
commit 6990dc4473
+17 -31
View File
@@ -1,46 +1,32 @@
# 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,
...
}:
{ config, lib, pkgs, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [
"nvme"
"xhci_pci"
"uas"
"sd_mod"
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "uas" "sd_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/38bebcad-2550-4dd2-88af-4fbce1c0c905";
fsType = "ext4";
};
fileSystems."/" =
{ device = "/dev/disk/by-uuid/7c326f3a-88df-4517-a200-21524b36854a";
fsType = "ext4";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/59D6-6348";
fsType = "vfat";
options = [
"fmask=0022"
"dmask=0022"
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/1002-C73F";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/340e4682-bd9f-4551-a4e3-af54df2acdba"; }
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/398298a3-c3df-45fb-9667-fbee66cdb40f"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;