2023-11-06 22:52:31 +01:00
|
|
|
{ config, pkgs, lib, ... } :
|
|
|
|
let
|
|
|
|
inherit (pkgs.pseudofile) dir symlink;
|
|
|
|
in {
|
|
|
|
imports = [
|
2023-12-10 17:38:53 +01:00
|
|
|
../../modules/outputs/ext4fs.nix
|
2023-11-06 22:52:31 +01:00
|
|
|
];
|
2023-12-10 17:38:53 +01:00
|
|
|
config = {
|
|
|
|
rootfsType = "ext4";
|
|
|
|
filesystem = dir {
|
|
|
|
hello = {
|
|
|
|
type = "f";
|
|
|
|
uid = 7;
|
|
|
|
gid = 24;
|
|
|
|
file = "hello world";
|
|
|
|
};
|
2023-11-06 22:52:31 +01:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|