mirror of
https://github.com/0xbbjubjub/miniguest.git
synced 2024-09-11 05:55:35 +03:00
add checks
This commit is contained in:
parent
c24c80dc66
commit
52b0f08558
@ -19,6 +19,18 @@ let
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
};
|
||||
miniguests.virtual-machine-with-virtio.configuration = {
|
||||
boot.miniguest.enable = true;
|
||||
boot.miniguest.qemu.fsType = "virtiofs";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = [ "defaults" "mode=755" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
};
|
||||
miniguests.container.configuration = {
|
||||
boot.miniguest.enable = true;
|
||||
boot.miniguest.guestType = "lxc";
|
||||
@ -37,6 +49,7 @@ let
|
||||
self.nixosModules.declarative
|
||||
{
|
||||
boot.isContainer = true;
|
||||
miniguests.virtual-machine.system = "i686-linux";
|
||||
miniguests.virtual-machine.configuration = {
|
||||
boot.miniguest.enable = true;
|
||||
|
||||
@ -48,6 +61,19 @@ let
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
};
|
||||
miniguests.virtual-machine-with-virtio.system = "i686-linux";
|
||||
miniguests.virtual-machine-with-virtio.configuration = {
|
||||
boot.miniguest.enable = true;
|
||||
boot.miniguest.qemu.fsType = "virtiofs";
|
||||
|
||||
fileSystems."/" = {
|
||||
device = "none";
|
||||
fsType = "tmpfs";
|
||||
options = [ "defaults" "mode=755" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "22.05";
|
||||
};
|
||||
miniguests.container.system = "i686-linux";
|
||||
miniguests.container.configuration = {
|
||||
boot.miniguest.enable = true;
|
||||
|
Loading…
Reference in New Issue
Block a user