fix virtiofsd in CIs
All checks were successful
checks-impure / test (pull_request) Successful in 1m41s
checks / test (pull_request) Successful in 2m40s

This commit is contained in:
Jörg Thalheim 2024-02-13 13:31:13 +01:00
parent b15c21f800
commit 952f976ea7
2 changed files with 1 additions and 4 deletions

View File

@ -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" ];
};

View File

@ -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",
],