desktop switch now

This commit is contained in:
2026-02-17 22:45:14 +00:00
parent 07e47f87e6
commit 1caf2a2583
3 changed files with 39 additions and 5 deletions

View File

@@ -0,0 +1,30 @@
{ 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;
};
};
}