2024-01-04 21:21:04 -05: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")
|
|
|
|
|
|
];
|
|
|
|
|
|
|
2026-08-22 16:44:58 -04:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
|
|
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
2024-01-04 21:21:04 -05:00
|
|
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/" =
|
2026-08-22 16:44:58 -04:00
|
|
|
|
{ device = "/dev/mapper/lvmroot-root";
|
2024-01-04 21:21:04 -05:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2026-08-22 16:44:58 -04:00
|
|
|
|
{ device = "/dev/disk/by-uuid/D9C8-2EB6";
|
2024-01-04 21:21:04 -05:00
|
|
|
|
fsType = "vfat";
|
2026-08-22 16:44:58 -04:00
|
|
|
|
options = [ "fmask=0077" "dmask=0077" ];
|
2024-01-04 21:21:04 -05:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2026-08-22 16:44:58 -04:00
|
|
|
|
[ { device = "/dev/mapper/lvmroot-swap"; }
|
2024-01-04 21:21:04 -05:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
|
}
|