desktop switch now
This commit is contained in:
30
config/hosts/aspects/doloro-desktop/hardware.nix
Normal file
30
config/hosts/aspects/doloro-desktop/hardware.nix
Normal 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;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user