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";