nixos/samba: make securityType an enum
The possible values were sourced from reading `man smb.conf`.
This commit is contained in:
parent
a5e0fd8ecb
commit
ac827a6f85
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue