make jffs2 module provide o.rootfs, conditionally

it's enabled if config.rootfsType == "jffs2"
This commit is contained in:
Daniel Barlow 2023-04-10 19:59:09 +01:00
parent 63a89f7d0d
commit 42725f56f9
5 changed files with 33 additions and 6 deletions

View file

@ -4,4 +4,5 @@
../../vanilla-configuration.nix
../../modules/jffs2.nix
];
config.rootfsType = "jffs2";
}