Commit ac827a6f authored by Jade Lovelace's avatar Jade Lovelace
Browse files

nixos/samba: make securityType an enum

The possible values were sourced from reading `man smb.conf`.
parent a5e0fd8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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";
      };