add the fixes k900 told me about, let's see if this works eh

This commit is contained in:
Lillian Violet 2024-12-04 15:58:23 +01:00
parent 766169ec50
commit eebd56918d

View file

@ -7,9 +7,11 @@
... ...
}: { }: {
imports = [ imports = [
inputs.nixos-hardware.nixosModules.raspberry-pi-4 # inputs.nixos-hardware.nixosModules.raspberry-pi-4
(modulesPath + "/installer/sd-card/sd-image-aarch64.nix") (modulesPath + "/installer/sd-card/sd-image-aarch64.nix")
../hardware-configuration.nix
# Import shared settings # Import shared settings
../../shared ../../shared
]; ];
@ -24,7 +26,9 @@
#Set up sops config, and configure where the keyfile is, then set the mode for the unencrypted keys #Set up sops config, and configure where the keyfile is, then set the mode for the unencrypted keys
sops.defaultSopsFile = ./secrets/sops.yaml; sops.defaultSopsFile = ./secrets/sops.yaml;
boot.kernelPackages = lib.mkForce pkgs.linuxKernel.packages.linux_rpi4; boot.kernelPackages = lib.mkForce pkgs.linuxPackages_latest;
boot.initrd.kernelModules = ["vc4" "bcm2835_dma" "i2c_bcm2835" "cma=256M" "console=tty0"];
sdImage.compressImage = false; sdImage.compressImage = false;