forked from DGNum/liminix
42725f56f9
it's enabled if config.rootfsType == "jffs2"
17 lines
245 B
Nix
17 lines
245 B
Nix
{
|
|
config
|
|
, pkgs
|
|
, lib
|
|
, ...
|
|
}:
|
|
let
|
|
inherit (pkgs) liminix;
|
|
inherit (lib) mkIf;
|
|
in
|
|
{
|
|
config = mkIf (config.rootfsType == "squashfs") {
|
|
outputs = rec {
|
|
rootfs = liminix.builders.squashfs config.filesystem.contents;
|
|
};
|
|
};
|
|
}
|