23 lines
407 B
Nix
23 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
|
||
|
}
|