modules/outputs/ubifs: expose rootubifs rather than rootfs

I believe there should be another module exposing `rootubifs` as `rootfs`
or let any other module just subsume that component like `zyxel-nwa-fit` output.

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-02-17 02:18:09 +01:00
parent b76c5b4abe
commit c59364d623

View file

@ -33,7 +33,7 @@ in
}; };
boot.initramfs.enable = true; boot.initramfs.enable = true;
system.outputs = { system.outputs = {
rootfs = rootubifs =
let let
inherit (pkgs.pkgsBuildBuild) runCommand mtdutils; inherit (pkgs.pkgsBuildBuild) runCommand mtdutils;
cfg = config.hardware.ubi; cfg = config.hardware.ubi;