diff options
Diffstat (limited to 'modules/options/mounts/plex.nix')
| -rw-r--r-- | modules/options/mounts/plex.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/options/mounts/plex.nix b/modules/options/mounts/plex.nix new file mode 100644 index 0000000..c571999 --- /dev/null +++ b/modules/options/mounts/plex.nix @@ -0,0 +1,25 @@ +{ lib, ... }: +{ + options.modules.mounts.plex = + let + inherit (lib) mkOption types; + in + { + enable = mkOption { + default = false; + type = types.bool; + }; + + name = mkOption { + default = "plex"; + type = types.str; + }; + + extraOptions = + with types; + mkOption { + default = [ ]; + type = listOf str; + }; + }; +} |