summary refs log tree commit diff
diff options
context:
space:
mode:
authorFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 11:31:24 +0100
committerFritz Otlinghaus <fritz@otlinghaus.it>2021-01-31 11:31:24 +0100
commit74cfc4d692cf1e93cfac72349e175c2fffd04724 (patch)
tree9ea70127ee9648cc0f737bb5ba6b2095c03a56c8
parent4015c5ca9c6ec7d4aa765c97b4413b478daa278b (diff)
downloadnixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar.gz
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar.bz2
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar.lz
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar.xz
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.tar.zst
nixpkgs-74cfc4d692cf1e93cfac72349e175c2fffd04724.zip
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 ca9d32311f5..33e851210bc 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.";
         };