From 3c823532b97197d071200393e76f772b0e7658b5 Mon Sep 17 00:00:00 2001 From: Jordan Holt Date: Sat, 16 Dec 2023 23:43:10 +0000 Subject: [PATCH] Fix missing modules --- hosts/pi/hardware-configuration.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hosts/pi/hardware-configuration.nix b/hosts/pi/hardware-configuration.nix index 39546af..4fef963 100644 --- a/hosts/pi/hardware-configuration.nix +++ b/hosts/pi/hardware-configuration.nix @@ -11,6 +11,15 @@ tmp.cleanOnBoot = true; }; + # Fix missing modules + # https://github.com/NixOS/nixpkgs/issues/154163 + nixpkgs.overlays = [ + (final: super: { + makeModulesClosure = x: + super.makeModulesClosure (x // { allowMissing = true; }); + }) + ]; + fileSystems = { "/" = { device = "/dev/disk/by-label/NIXOS_SD";