at 23.11-pre 505 B view raw
1{ pkgs, ... }: 2 3{ 4 imports = [ ./sd-image-aarch64-new-kernel-installer.nix ]; 5 6 # Makes `availableOn` fail for zfs, see <nixos/modules/profiles/base.nix>. 7 # This is a workaround since we cannot remove the `"zfs"` string from `supportedFilesystems`. 8 # The proper fix would be to make `supportedFilesystems` an attrset with true/false which we 9 # could then `lib.mkForce false` 10 nixpkgs.overlays = [(final: super: { 11 zfs = super.zfs.overrideAttrs(_: { 12 meta.platforms = []; 13 }); 14 })]; 15}