move squashfs kernel options into module

This commit is contained in:
Daniel Barlow 2023-08-30 22:59:28 +01:00
parent de77635490
commit efa1919e04
5 changed files with 4 additions and 9 deletions

View file

@ -12,5 +12,9 @@ in
config = mkIf (config.rootfsType == "squashfs") {
system.outputs.rootfs =
liminix.builders.squashfs config.filesystem.contents;
kernel.config = {
SQUASHFS = "y";
SQUASHFS_XZ = "y";
};
};
}