30 lines
697 B
Nix
30 lines
697 B
Nix
{ config, lib, pkgs, modulesPath, ... }:
|
|
|
|
{
|
|
imports =
|
|
[
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" ];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";
|
|
|
|
fileSystems."/" = {
|
|
device = "/dev/disk/by-uuid/4a964f22-e270-42df-ae54-00f91d89edd9";
|
|
fsType = "ext4";
|
|
};
|
|
fileSystems."/boot/efi" = {
|
|
device = "/dev/disk/by-uuid/6836-6848";
|
|
fsType = "vfat";
|
|
};
|
|
|
|
swapDevices = [
|
|
{
|
|
device = "/dev/disk/by-uuid/8d0f13e7-135e-4dfd-9090-fabf1fc406c2";
|
|
}
|
|
];
|
|
}
|