liminix/tests/jffs2/configuration.nix

20 lines
357 B
Nix
Raw Normal View History

2023-04-06 19:58:26 +00:00
{ config, pkgs, lib, ... } :
let
inherit (pkgs.pseudofile) dir symlink;
in {
2023-04-06 19:58:26 +00:00
imports = [
../../vanilla-configuration.nix
../../modules/squashfs.nix
2023-04-06 19:58:26 +00:00
../../modules/jffs2.nix
];
config.rootfsType = "jffs2";
config.filesystem = dir {
hello = {
type = "f";
uid = 7;
gid = 24;
file = "hello world";
};
};
2023-04-06 19:58:26 +00:00
}