60 lines
1.2 KiB
Nix
60 lines
1.2 KiB
Nix
|
# 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,
|
|||
|
modulesPath,
|
|||
|
...
|
|||
|
}:
|
|||
|
|
|||
|
{
|
|||
|
imports = [
|
|||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|||
|
];
|
|||
|
|
|||
|
boot = {
|
|||
|
initrd = {
|
|||
|
availableKernelModules = [
|
|||
|
"xhci_pci"
|
|||
|
"nvme"
|
|||
|
"megaraid_sas"
|
|||
|
"ehci_pci"
|
|||
|
"ahci"
|
|||
|
"usbhid"
|
|||
|
"sd_mod"
|
|||
|
];
|
|||
|
kernelModules = [ "dm-snapshot" ];
|
|||
|
};
|
|||
|
kernelModules = [ "kvm-amd" ];
|
|||
|
extraModulePackages = [ ];
|
|||
|
};
|
|||
|
|
|||
|
fileSystems = {
|
|||
|
"/" = {
|
|||
|
device = "/dev/disk/by-uuid/fed99278-0916-4d9c-b974-c7125d3557b3";
|
|||
|
fsType = "xfs";
|
|||
|
};
|
|||
|
|
|||
|
"/data" = {
|
|||
|
device = "/dev/disk/by-uuid/69b62f16-7db1-4720-a115-fd3b8dafe123";
|
|||
|
fsType = "xfs";
|
|||
|
};
|
|||
|
|
|||
|
"/boot" = {
|
|||
|
device = "/dev/disk/by-uuid/1372-46EA";
|
|||
|
fsType = "vfat";
|
|||
|
options = [
|
|||
|
"fmask=0022"
|
|||
|
"dmask=0022"
|
|||
|
];
|
|||
|
};
|
|||
|
};
|
|||
|
|
|||
|
swapDevices = [
|
|||
|
{ device = "/dev/disk/by-uuid/34b9e0ab-c579-4293-849c-78f5093cf35a"; }
|
|||
|
];
|
|||
|
|
|||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
}
|