depot/third_party/nixpkgs/nixos/modules/tasks/filesystems/squashfs.nix

13 lines
184 B
Nix

{ config, lib, ... }:
let
inInitrd = config.boot.initrd.supportedFilesystems.squashfs or false;
in
{
boot.initrd.availableKernelModules = lib.mkIf inInitrd [ "squashfs" ];
}