diff --git a/flake.nix b/flake.nix index ce0d3ec..d874936 100644 --- a/flake.nix +++ b/flake.nix @@ -22,7 +22,7 @@ self.nixosConfigurations; })) // { nixosModules.minify = { ... }: { - disabledModules = [ "profiles/base.nix" ]; + disabledModules = [ "profiles/base.nix" "profiles/all-hardware.nix" ]; config = { boot.bcache.enable = false; boot.initrd.includeDefaultModules = false; @@ -83,6 +83,9 @@ self.nixosModules.rpiSht3x "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-raspberrypi.nix" ({ pkgs, ... }: { + boot.initrd.availableKernelModules = [ "mmc_block" ]; + sdImage.compressImage = false; + nixpkgs.hostPlatform = lib.systems.examples.raspberryPi; nixpkgs.overlays = [ (final: prev: {