Added Raspi 4 Conf

This commit is contained in:
2025-11-26 15:17:08 +01:00
parent bcdb501d4d
commit c66dd11217
3 changed files with 273 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
fsType = "ext4";
};
fileSystems."/storage" =
{ device = "/dev/disk/by-label/STORAGE";
fsType = "ext4";
options = [ "nofail" ];
};
swapDevices = [
{ device = "/swapfile";
size = 4096;
}
];
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
hardware.i2c.enable = true;
}