feat(virtiofs): moved son root on virtiofs
This commit is contained in:
parent
76e4b95423
commit
b088049c45
2 changed files with 10 additions and 14 deletions
|
@ -79,7 +79,10 @@
|
|||
];
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
virtualisation.libvirtd.enable = true;
|
||||
virtualisation.libvirtd = {
|
||||
enable = true;
|
||||
qemu.vhostUserPackages = [ pkgs.virtiofsd ];
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
|
|
|
@ -9,28 +9,21 @@
|
|||
partitions = {
|
||||
ESP = {
|
||||
type = "EF00";
|
||||
size = "100M";
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "vfat";
|
||||
mountpoint = "/boot";
|
||||
};
|
||||
};
|
||||
root = {
|
||||
size = "100%";
|
||||
content = {
|
||||
type = "filesystem";
|
||||
format = "bcachefs";
|
||||
mountpoint = "/";
|
||||
mountOptions = [
|
||||
"fsck"
|
||||
"fix_errors"
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
boot.initrd.kernelModules = [ "virtiofs" ];
|
||||
fileSystems."/" = {
|
||||
device = "root";
|
||||
fsType = "virtiofs";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue