9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
13 lines
197 B
Nix
13 lines
197 B
Nix
{ config, lib, ... }:
|
|
|
|
let
|
|
|
|
inInitrd = lib.any (fs: fs == "squashfs") config.boot.initrd.supportedFilesystems;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
boot.initrd.availableKernelModules = lib.mkIf inInitrd [ "squashfs" ];
|
|
|
|
}
|