liminix/tests/ext4/configuration.nix

20 lines
320 B
Nix
Raw Normal View History

2023-11-06 22:52:31 +01:00
{ config, pkgs, lib, ... } :
let
inherit (pkgs.pseudofile) dir symlink;
in {
imports = [
../../modules/outputs/ext4fs.nix
2023-11-06 22:52:31 +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
};
};
}