summary refs log tree commit diff
path: root/nixos/modules/installer/cd-dvd/installation-cd-minimal-new-kernel-no-zfs.nix
blob: 9d09cdbe0206d2499922b1e2515699e1e3eff844 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ pkgs, ... }:

{
  imports = [ ./installation-cd-minimal-new-kernel.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 = [];
    });
  })];
}