uvms/examples/dummy.nix
2025-09-19 16:30:05 +03:00

22 lines
407 B
Nix

{
config,
lib,
pkgs,
...
}:
{
imports = [
../profiles/all.nix
];
# following microvm.nix:
boot.loader.grub.enable = false;
fileSystems."/" = lib.mkDefault {
device = "rootfs"; # how does this work? does this assign a label to the tmpfs?
fsType = "tmpfs";
options = [ "size=10%,mode=0755" ];
neededForBoot = true;
};
# TODO: cmdline, kernel, initrd, fileSystems
}