We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa673bf commit da064bdCopy full SHA for da064bd
nixos-modules/host/default.nix
@@ -286,6 +286,7 @@ in
286
${lib.optionalString (config.microvm.virtiofsd.inodeFileHandles != null)
287
"--inode-file-handles=${config.microvm.virtiofsd.inodeFileHandles}"
288
} \
289
+ ${lib.concatStringsSep " " config.microvm.virtiofsd.extraArgs} \
290
&
291
# detach from shell, but remain in systemd cgroup
292
disown
nixos-modules/host/options.nix
@@ -152,5 +152,13 @@
152
<https://gitlab.com/virtio-fs/virtiofsd/-/issues/121>
153
'';
154
};
155
+
156
+ virtiofsd.extraArgs = mkOption {
157
+ type = with types; listOf str;
158
+ default = [];
159
+ description = ''
160
+ Extra command-line switch to pass to virtiofsd.
161
+ '';
162
+ };
163
164
}
0 commit comments