Files
frank-nix/hosts/nero/hardware.nix
T
floturcocantsee bfd753fb6b
ci / check-flake (push) Successful in 1m41s
nero: remove sshfs mount
2026-11-01 21:17:27 -05:00

48 lines
833 B
Nix

{
config,
lib,
modulesPath,
pkgs,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
../shared/fs-layouts/single-disk-btrfs.nix
];
boot = {
initrd.availableKernelModules = [
"nvme"
"ahci"
"xhci_pci"
"usbhid"
"usb_storage"
"sd_mod"
];
initrd.kernelModules = [ ];
kernelModules = [ ];
extraModulePackages = [ ];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware = {
bluetooth.enable = true;
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
nvidia-container-toolkit.enable = true;
nvidia = {
open = true;
modesetting.enable = true;
};
graphics = {
enable = true;
extraPackages = with pkgs; [ mesa.opencl ];
};
};
}