about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2024-01-19 12:29:19 +0100
committerGitHub <noreply@github.com>2024-01-19 12:29:19 +0100
commiteb09653fde76b7ee67688d3601bd2eceed699431 (patch)
tree4b4f443966e3090657f22dcc372665dabc737562 /nixos
parente0000983db23a86e03f1d6c467beef8532c3909d (diff)
parentac827a6f855b58feb4f5b6ea073acf83b3348339 (diff)
Merge pull request #266428 from lf-/jade/samba-fix-security-type
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/network-filesystems/samba.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/network-filesystems/samba.nix b/nixos/modules/services/network-filesystems/samba.nix
index 5d02eac8e9f1a..ef368ddbeefd5 100644
--- a/nixos/modules/services/network-filesystems/samba.nix
+++ b/nixos/modules/services/network-filesystems/samba.nix
@@ -154,7 +154,7 @@ in
       };
 
       securityType = mkOption {
-        type = types.str;
+        type = types.enum [ "auto" "user" "domain" "ads" ];
         default = "user";
         description = lib.mdDoc "Samba security type";
       };