31 lines
693 B
Nix
31 lines
693 B
Nix
{ den, modules, ... }:
|
|
{
|
|
den.aspects.desktop = {
|
|
nixos =
|
|
{
|
|
modulesPath,
|
|
pkgs,
|
|
config,
|
|
...
|
|
}:
|
|
{
|
|
imports = [
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
];
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
"nvme"
|
|
"xhci_pci"
|
|
"ahci"
|
|
"usbhid"
|
|
];
|
|
boot.initrd.kernelModules = [ ];
|
|
boot.kernelModules = [ "kvm-amd" ];
|
|
boot.extraModulePackages = [ ];
|
|
|
|
nixpkgs.hostPlatform = pkgs.lib.mkDefault "x86_64-linux";
|
|
hardware.cpu.amd.updateMicrocode = pkgs.lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
};
|
|
};
|
|
}
|