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