Revert "Update rpi base"

This reverts commit 5903eb650a.
This commit is contained in:
2024-08-06 08:29:32 +01:00
parent ccc8ae2a4a
commit ad9f4e52ef
7 changed files with 61 additions and 235 deletions

View File

@@ -1,6 +1,24 @@
{ 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";