liminix/tests/jffs2/configuration.nix

20 lines
365 B
Nix
Raw Normal View History

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