Skip to content

Commit fdb3da8

Browse files
rmgarayastro
authored andcommitted
use enum for securityModel option
1 parent 7f92389 commit fdb3da8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nixos-modules/microvm/options.nix

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,9 @@ in
277277
description = "Path to shared directory tree";
278278
};
279279
securityModel = mkOption {
280-
type = nullOr str;
280+
type = enum [ "passthrough" "none" "mapped" "mapped-file" ];
281281
default = "none";
282-
description = "What security model to use for the shared. Default: none.";
282+
description = "What security model to use for the shared directory";
283283
};
284284
mountPoint = mkOption {
285285
type = path;

0 commit comments

Comments
 (0)