nixos/samba: make securityType an enum
The possible values were sourced from reading `man smb.conf`.
This commit is contained in:
@@ -160,7 +160,7 @@ in
|
||||
};
|
||||
|
||||
securityType = mkOption {
|
||||
type = types.str;
|
||||
type = types.enum [ "auto" "user" "domain" "ads" ];
|
||||
default = "user";
|
||||
description = lib.mdDoc "Samba security type";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user