diff --git a/hardware/rp3.nix b/hardware/rp3.nix index 7cafe92..dc6b335 100644 --- a/hardware/rp3.nix +++ b/hardware/rp3.nix @@ -10,6 +10,7 @@ in nixpkgs.system = "aarch64-linux"; boot = { + kernelPackages = pkgs.linuxPackages_rpi3; kernelModules = [ "bcm2835-v4l2" ]; loader = { grub.enable = false; @@ -17,6 +18,15 @@ in }; }; + # Fix missing modules + # https://github.com/NixOS/nixpkgs/issues/154163 + nixpkgs.overlays = [ + (final: super: { + makeModulesClosure = x: + super.makeModulesClosure (x // { allowMissing = true; }); + }) + ]; + networking.wireless = { enable = true; environmentFile = "/etc/secrets/wireless.env";