nix-conf/systems/aarch64-linux/yokai/hardware.nix

38 lines
673 B
Nix
Raw Normal View History

2023-02-23 20:34:35 +01:00
{ config, lib, pkgs, modulesPath, inputs, ... }:
{
2023-03-14 14:28:56 +01:00
imports = [
2023-02-23 20:34:35 +01:00
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
initrd = {
# kernelModules = [ "amdgpu" ];
availableKernelModules = [ "usbhid" ];
};
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXROOT";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-label/NIXBOOT";
fsType = "vfat";
};
};
2023-04-07 22:00:09 +02:00
swapDevices = [ {
device = "/var/lib/swapfile";
size = (4*1024)+(2*1024);
} ];
2023-02-23 20:34:35 +01:00
hardware.enableRedistributableFirmware = true;
}