1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
{inputModules, ...}: { imports = [inputModules.nixos-hardware.raspberry-pi-2]; config = { nixpkgs.hostPlatform.system = "armv7l-linux"; fileSystems = { "/" = { device = "/dev/mmcblk0p1"; fsType = "btrfs"; options = ["compress=lzo"]; }; }; }; }