profiles: init (vsock ssh &c.)

This commit is contained in:
Else, Someone 2025-09-17 16:51:24 +03:00
parent 12e95630b1
commit 1828835a1d
8 changed files with 228 additions and 0 deletions

22
examples/dummy.nix Normal file
View file

@ -0,0 +1,22 @@
{
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
}