{ config, pkgs, ... }: { boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelParams = [ "cma=32M" ]; fileSystems = { "/boot" = { device = "/dev/disk/by-label/NIXOS_BOOT"; fsType = "vfat"; }; "/" = { device = "/dev/disk/by-label/NIXOS_SD"; fsType = "ext4"; }; }; swapDevices = [ { device = "/swapfile"; size = 1024; } ]; }