profiles: init (vsock ssh &c.)
This commit is contained in:
parent
12e95630b1
commit
1828835a1d
8 changed files with 228 additions and 0 deletions
22
examples/dummy.nix
Normal file
22
examples/dummy.nix
Normal 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
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue