30 lines
794 B
Nix
30 lines
794 B
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,
|
|||
|
pkgs,
|
|||
|
modulesPath,
|
|||
|
...
|
|||
|
}: {
|
|||
|
imports = [
|
|||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|||
|
];
|
|||
|
|
|||
|
boot.initrd.availableKernelModules = ["ahci" "sd_mod"];
|
|||
|
boot.initrd.kernelModules = ["dm-snapshot"];
|
|||
|
boot.kernelModules = ["kvm-amd"];
|
|||
|
boot.extraModulePackages = [];
|
|||
|
|
|||
|
fileSystems."/" = {
|
|||
|
device = "/dev/disk/by-uuid/2a24010c-14bd-439b-b30b-d0e18db69952";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices = [];
|
|||
|
|
|||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
|||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|||
|
}
|