add ext4 as rootfsType

This commit is contained in:
Daniel Barlow
2023-11-06 21:52:31 +00:00
parent 6bbff2f5b3
commit a9d847e2c0
6 changed files with 102 additions and 2 deletions

View 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";
};
};
}