summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-01-31 15:04:52 +0100
committerGitHub <noreply@github.com>2021-01-31 15:04:52 +0100
commitab61ee3563ef86079bb17bbf01cb0afe174cd85d (patch)
tree74d7cc7bf603fc22710c9a90db54385bef281449
parent5008c20426e7cac3ca3bc79ef0fb95ca7e66dc89 (diff)
parent74cfc4d692cf1e93cfac72349e175c2fffd04724 (diff)
Merge pull request #111423 from helsinki-systems/netatalk
nixos/netatalk: add types
-rw-r--r--nixos/modules/services/network-filesystems/netatalk.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/nixos/modules/services/network-filesystems/netatalk.nix b/nixos/modules/services/network-filesystems/netatalk.nix
index ca9d32311f5f..33e851210bc6 100644
--- a/nixos/modules/services/network-filesystems/netatalk.nix
+++ b/nixos/modules/services/network-filesystems/netatalk.nix
@@ -46,6 +46,7 @@ in
enable = mkEnableOption "the Netatalk AFP fileserver";
port = mkOption {
+ type = types.port;
default = 548;
description = "TCP port to be used for AFP.";
};
@@ -68,6 +69,7 @@ in
};
path = mkOption {
+ type = types.str;
default = "";
example = "afp-data";
description = "Share not the whole user home but this subdirectory path.";
@@ -75,6 +77,7 @@ in
basedirRegex = mkOption {
example = "/home";
+ type = types.str;
description = "Regex which matches the parent directory of the user homes.";
};