uvms/examples/dummy.nix

23 lines
407 B
Nix
Raw Normal View History

2025-09-17 16:51:24 +03:00
{
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
}