about summary refs log tree commit diff
path: root/nixos/modules/installer/sd-card/sd-image-aarch64-new-kernel-no-zfs-installer.nix
blob: 0e505596029450ad5c0e95158eeb4796ccca3b9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, ... }:

{
  imports = [ ./sd-image-aarch64-new-kernel-installer.nix ];

  # Makes `availableOn` fail for zfs, see <nixos/modules/profiles/base.nix>.
  # This is a workaround since we cannot remove the `"zfs"` string from `supportedFilesystems`.
  # The proper fix would be to make `supportedFilesystems` an attrset with true/false which we
  # could then `lib.mkForce false`
  nixpkgs.overlays = [(final: super: {
    zfs = super.zfs.overrideAttrs(_: {
      meta.platforms = [];
    });
  })];
}