Commit 3b6bc9b5 authored by nikstur's avatar nikstur Committed by Bjørn Forsman
Browse files

nixos/filesystems: init squashfs

parent f93ea48c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1410,6 +1410,7 @@
  ./tasks/filesystems/nfs.nix
  ./tasks/filesystems/ntfs.nix
  ./tasks/filesystems/reiserfs.nix
  ./tasks/filesystems/squashfs.nix
  ./tasks/filesystems/unionfs-fuse.nix
  ./tasks/filesystems/vboxsf.nix
  ./tasks/filesystems/vfat.nix
+13 −0
Original line number Diff line number Diff line
{ config, lib, ... }:

let

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

in

{

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

}