nix-config/hosts/skycam/hardware-configuration.nix
Jordan Holt ad9f4e52ef
Revert "Update rpi base"
This reverts commit 5903eb650a3edd2c0310bcfebeb665ec21b1b7b7.
2024-08-06 08:29:32 +01:00

31 lines
600 B
Nix

{ config, lib, modulesPath, ... }:
{
imports = [
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
];
boot = {
kernelModules = [ "bcm2835-v4l2" ];
kernelParams = [ "cma=512M" ];
supportedFilesystems = lib.mkForce [ "f2fs" "vfat xfs" ];
tmp.cleanOnBoot = true;
};
nixpkgs.overlays = [
(final: super: {
makeModulesClosure = x:
super.makeModulesClosure (x // { allowMissing = true; });
})
];
fileSystems = {
"/" = {
device = "/dev/disk/by-label/NIXOS_SD";
fsType = "ext4";
options = [ "noatime" ];
};
};
}