add ext4 as rootfsType
This commit is contained in:
19
tests/ext4/configuration.nix
Normal file
19
tests/ext4/configuration.nix
Normal file
@@ -0,0 +1,19 @@
|
||||
{ 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";
|
||||
};
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user