liminix/tests/ext4/configuration.nix

20 lines
357 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 = [
../../vanilla-configuration.nix
../../modules/squashfs.nix
../../modules/ext4fs.nix
];
config.rootfsType = "ext4";
config.filesystem = dir {
hello = {
type = "f";
uid = 7;
gid = 24;
file = "hello world";
};
};
}