nix-conf/systems/yokai/hardware.nix

37 lines
622 B
Nix
Raw Normal View History

2023-05-16 14:55:15 +02:00
{ config, pkgs, modulesPath, ... }:
2023-02-23 20:34:35 +01:00
{
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 = {
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;
}