Skip to content

Commit

Permalink
use enum for securityModel option
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgaray authored and astro committed Feb 29, 2024
1 parent 7f92389 commit fdb3da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nixos-modules/microvm/options.nix
Original file line number Diff line number Diff line change
Expand Up @@ -277,9 +277,9 @@ in
description = "Path to shared directory tree";
};
securityModel = mkOption {
type = nullOr str;
type = enum [ "passthrough" "none" "mapped" "mapped-file" ];
default = "none";
description = "What security model to use for the shared. Default: none.";
description = "What security model to use for the shared directory";
};
mountPoint = mkOption {
type = path;
Expand Down

0 comments on commit fdb3da8

Please sign in to comment.