summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems/squashfs.nix
blob: 10d45a21d3ca8f5edb36e523de2d0797ee77c58b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
{ config, lib, ... }:

let

  inInitrd = lib.any (fs: fs == "squashfs") config.boot.initrd.supportedFilesystems;

in

{

  boot.initrd.availableKernelModules = lib.mkIf inInitrd [ "squashfs" ];

}