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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

14 lines
197 B
Nix
Raw Normal View History

2023-07-04 15:06:49 +00:00
{ config, lib, ... }:
let
inInitrd = lib.any (fs: fs == "squashfs") config.boot.initrd.supportedFilesystems;
in
{
boot.initrd.availableKernelModules = lib.mkIf inInitrd [ "squashfs" ];
}