Files
copnix/hardware.nix
T
2026-04-25 11:40:45 +03:00

61 lines
1.1 KiB
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ "i915" ];
boot.kernelModules = [
"kvm-intel"
"ntsync"
"hfsplus"
];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/disk/by-uuid/ebf71dbc-969e-4613-9117-78b4c62e7216";
fsType = "ext4";
};
fileSystems."/mnt/HDD/shared" = {
device = "/dev/disk/by-uuid/7DFB-C32A";
fsType = "exfat";
options = [
"defaults"
"nofail"
"x-systemd.automount"
];
};
fileSystems."/mnt/HDD/linuxdata" = {
device = "/dev/disk/by-uuid/f7e27b90-ce06-48bb-b579-d93b1398b21f";
fsType = "ext4";
options = [
"defaults"
"nofail"
"x-systemd.automount"
];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/72CC-9AE7";
fsType = "vfat";
};
networking.useDHCP = lib.mkDefault true;
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}