liminix/tests/jffs2/configuration.nix

20 lines
365 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-12-10 17:12:57 +00:00
../../modules/outputs/jffs2.nix
2023-04-06 19:58:26 +00:00
];
config.rootfsType = "jffs2";
config.filesystem = dir {
hello = {
type = "f";
uid = 7;
gid = 24;
file = "hello world";
};
};
2023-04-06 19:58:26 +00:00
}