forked from clan/clan-core
fix virtiofsd in CIs
This commit is contained in:
parent
b15c21f800
commit
952f976ea7
@ -37,14 +37,13 @@ let
|
||||
virtualisation.fileSystems = lib.mkForce ({
|
||||
"/nix/store" = {
|
||||
device = "nix-store";
|
||||
options = [ "x-systemd.requires=systemd-modules-load.service" ];
|
||||
options = [ "x-systemd.requires=systemd-modules-load.service" "ro" ];
|
||||
fsType = "virtiofs";
|
||||
};
|
||||
|
||||
"/" = {
|
||||
device = "/dev/vda";
|
||||
fsType = "ext4";
|
||||
noCheck = true;
|
||||
options = [ "defaults" "x-systemd.makefs" ];
|
||||
};
|
||||
|
||||
|
@ -277,10 +277,8 @@ def start_virtiofsd(socket_path: Path) -> Iterator[None]:
|
||||
str(socket_path),
|
||||
"--cache",
|
||||
"always",
|
||||
"--posix-acl",
|
||||
"--sandbox",
|
||||
sandbox,
|
||||
"--xattr",
|
||||
"--shared-dir",
|
||||
"/nix/store",
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user